commonuisupport/uikon/test/tcolours/tcolscm/TCOLSCM.RSS
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15  
       
    16 NAME TCSM
       
    17 
       
    18 #include <techview/eikon.rh>
       
    19 #include <techview/eikon.rsg>
       
    20 
       
    21 #include <eikcolor.hrh>
       
    22 
       
    23 #include "TCOLSCM.HRH"
       
    24 
       
    25 RESOURCE RSS_SIGNATURE { }
       
    26 
       
    27 RESOURCE TBUF16 { buf=""; }
       
    28 
       
    29 RESOURCE EIK_APP_INFO
       
    30 	{
       
    31 	hotkeys=r_tdlg_hotkeys;
       
    32 	menubar=r_tdlg_menubar;
       
    33 	toolbar=r_tdlg_toolbar;
       
    34 	}
       
    35 
       
    36 RESOURCE HOTKEYS r_tdlg_hotkeys
       
    37     {
       
    38     control=
       
    39         {
       
    40 		HOTKEY {command=EAppCmdShowDlg; key='s';},
       
    41         HOTKEY {command=EEikCmdExit; key='e';},
       
    42 		HOTKEY {command=EAppCmdToggleSpane; key='y';}
       
    43         };
       
    44     }
       
    45 
       
    46 RESOURCE TOOLBAR r_tdlg_toolbar
       
    47 	{
       
    48 	controls=
       
    49 		{
       
    50         TBAR_BUTTON {id=EEikCmdExit; flags=EEikToolBarCtrlIsStretchable; txt="Exit";},
       
    51 		TBAR_BUTTON {id=EAppCmdShowDlg; flags=EEikToolBarCtrlIsStretchable; txt="Show";}
       
    52 		};
       
    53 	}
       
    54 	
       
    55 RESOURCE MENU_BAR r_tdlg_menubar
       
    56     {
       
    57     titles=
       
    58         {
       
    59         MENU_TITLE { menu_pane=r_tdlg_file_menu; txt="Menu"; }
       
    60         };
       
    61     }
       
    62 
       
    63 RESOURCE MENU_PANE r_tdlg_file_menu
       
    64     {
       
    65     items=
       
    66         {
       
    67 		MENU_ITEM
       
    68             {
       
    69             command=EAppCmdShowDlg;
       
    70             txt="Show";
       
    71             },
       
    72 		MENU_ITEM
       
    73 			{
       
    74 			command=EAppCmdToggleSpane;
       
    75 			txt="Toggle Status Pane";
       
    76 			},
       
    77         MENU_ITEM
       
    78             {
       
    79             command=EEikCmdExit;
       
    80             txt="Exit";
       
    81             }
       
    82         };
       
    83     }
       
    84 
       
    85 
       
    86 RESOURCE ARRAY r_color_scheme_list
       
    87 	{
       
    88 	items=
       
    89 		{
       
    90 		LBUF { txt="ER5"; },
       
    91 		LBUF { txt="Gray"; },
       
    92 		LBUF { txt="Slate Blue"; },
       
    93 		LBUF { txt="Maram Grass"; },
       
    94 		LBUF { txt="Sky Blue"; },
       
    95 		LBUF { txt="Beach Sand"; },
       
    96 		LBUF { txt="Lilac"; }
       
    97 		};
       
    98 	}
       
    99 
       
   100 RESOURCE DIALOG r_color_scheme_dialog
       
   101     {
       
   102 	title="Color Schemes";
       
   103     buttons=R_EIK_BUTTONS_CANCEL_OK;
       
   104 	flags=EEikDialogFlagWait;
       
   105     items=
       
   106 		{
       
   107 		DLG_LINE
       
   108             {
       
   109             type=EEikCtChoiceList;
       
   110 			id=EAppChoiceListId;
       
   111             prompt="Schemes";
       
   112             control=CHOICELIST
       
   113                 {
       
   114                 array_id=r_color_scheme_list;
       
   115                 };
       
   116             }
       
   117 		};
       
   118 	}
       
   119 
       
   120 
       
   121 #include "TCOLSCM.RA"