examples/Graphics/WS/transparent/transparent.rss

00001 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 NAME WSRV
00017 
00018 #include <eikon.rh>
00019 #include <appinfo.rh>
00020 
00021 #include <gulfont.hrh>
00022 #include "transparent.hrh"
00023 
00024 RESOURCE RSS_SIGNATURE { }
00025 
00026 RESOURCE TBUF { buf=""; }
00027 
00028 RESOURCE EIK_APP_INFO
00029         {
00030         toolbar=r_guibase_toolbar;
00031         }
00032 
00033 RESOURCE TBUF r_appname_default_file
00034         {
00035         buf="Transparent window example";
00036         }
00037 
00038 rls_string STRING_r_winserv_toolbar0 "Vary Transparency"
00039 rls_string STRING_r_winserv_toolbar1 "Set Transparent Region"
00040 rls_string STRING_r_winserv_toolbar3 "Close"
00041 
00042 
00043 RESOURCE TOOLBAR r_guibase_toolbar
00044         {
00045         breadth=KTechViewToolbarWidth*2;
00046 
00047         controls=
00048                 {
00049                 TBAR_CTRL
00050                         {
00051                         type=EEikCtFileNameLabel;
00052                         id=ECidFileNameLabel;
00053                         flags=EEikToolBarCtrlHasSetMinLength;
00054                         length=KEikStdFileNameLabelHeight;
00055                         },
00056 
00057                 TBAR_BUTTON
00058                         {
00059                         id=ETransparentToDo0;
00060                         length=KEikStdToolBarButtonHeight;
00061                         flags=EEikToolBarCtrlHasSetMinLength;
00062                         txt=STRING_r_winserv_toolbar0;
00063                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00064                         },
00065                 TBAR_BUTTON
00066                         {
00067                         id=ETransparentToDo1;
00068                         length=KEikStdToolBarButtonHeight;
00069                         flags=EEikToolBarCtrlHasSetMinLength;
00070                         txt=STRING_r_winserv_toolbar1;
00071                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00072                         },
00073                 TBAR_BUTTON
00074                         {
00075                         id=EEikCmdExit;
00076                         flags=EEikToolBarCtrlHasSetMinLength;
00077                         length=KEikStdToolBarButtonHeight;
00078                         txt=STRING_r_winserv_toolbar3;
00079                         layout=EEikCmdButTextRightPictureLeft|EEikCmdButShareExcess|EEikCmdButDenseFont;
00080                         },
00081                 TBAR_CTRL
00082                         {
00083                         type=EEikCtSpacer;
00084                         id=ETimewCidToolSpacer;
00085                         flags=EEikToolBarCtrlHasSetMinLength|EEikToolBarCtrlIsStretchable;
00086                         length=0;
00087                         control=SPACER;
00088                         }
00089                 };
00090         }
00091 
00092 RESOURCE TBUF r_example_text_bb { buf="Welcome to Transparent Window Example"; }

Generated by  doxygen 1.6.2