plugins/consoles/guicons/s60/data/GuiCons.rss
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 // GuiCons.rss
       
     2 // 
       
     3 // Copyright (c) 2009 - 2010 Accenture. All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 // 
       
     9 // Initial Contributors:
       
    10 // Accenture - Initial contribution
       
    11 //
       
    12 
       
    13 
       
    14 NAME GUNS
       
    15 
       
    16 #include <eikon.rh>
       
    17 #include <avkon.rh>
       
    18 #include <avkon.rsg>
       
    19 #include <appinfo.rh>
       
    20 #include <CommonDialogs.rh>
       
    21 #include "GuiCons.hrh"
       
    22 
       
    23 RESOURCE RSS_SIGNATURE
       
    24 	{
       
    25 	}
       
    26 
       
    27 RESOURCE TBUF r_default_document_name
       
    28 	{
       
    29 	buf="GUNS";
       
    30 	}
       
    31 
       
    32 RESOURCE EIK_APP_INFO
       
    33 	{
       
    34 	menubar = r_guicons_menubar;
       
    35 	cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
    36 	}
       
    37 	
       
    38 RESOURCE CBA r_guicons_interactive_cba
       
    39 	{
       
    40 	buttons =
       
    41 	        {
       
    42 	        CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";},
       
    43 	        CBA_BUTTON {id=EGuiConsFocusEdwin; txt = "Line mode"; }
       
    44 	        };
       
    45 	}
       
    46 
       
    47 RESOURCE CBA r_guicons_line_cba
       
    48 	{
       
    49 	buttons =
       
    50 	        {
       
    51 	        CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";},
       
    52 	        CBA_BUTTON {id=EGuiConsFocusConsole; txt = "Interactive"; }
       
    53 	        };
       
    54 	}
       
    55 
       
    56 RESOURCE CBA r_guicons_closed_cba
       
    57 	{
       
    58 	buttons =
       
    59 	        {
       
    60 	        CBA_BUTTON {id=EAknSoftkeyOptions; txt = "Options";},
       
    61 	        CBA_BUTTON {id=EGuiConsCloseConsole; txt = "Close"; }
       
    62 	        };
       
    63 	}
       
    64 
       
    65 RESOURCE MENU_BAR r_guicons_menubar
       
    66 	{
       
    67 	titles =
       
    68 		{
       
    69 		MENU_TITLE { menu_pane = r_guicons_menu; }
       
    70 		};
       
    71 	}
       
    72 
       
    73 RESOURCE MENU_PANE r_guicons_menu
       
    74 	{
       
    75 	items =
       
    76 		{
       
    77 		MENU_ITEM
       
    78 			{
       
    79 			command = EGuiConsCtrlC;
       
    80 			txt = "Ctrl-C";
       
    81 			},
       
    82 		MENU_ITEM
       
    83 			{
       
    84 			command = EGuiConsNavigationSubMenu;
       
    85 			cascade = r_guicons_navigation_submenu;
       
    86 			txt = "Navigation";
       
    87 			},
       
    88 		MENU_ITEM
       
    89 			{
       
    90 			command = EGuiConsNewConsole;
       
    91 			txt = "New gui console";
       
    92 			},
       
    93 		MENU_ITEM
       
    94 			{
       
    95 			command = EGuiConsCommandsSubMenu;
       
    96 			cascade = r_guicons_commands_submenu;
       
    97 			txt = "Commands";
       
    98 			},
       
    99 		MENU_ITEM
       
   100 			{
       
   101 			command = EGuiConsSwitchTab;
       
   102 			cascade = r_guicons_tabs_submenu;
       
   103 			txt = "Go to tab";
       
   104 			},
       
   105  		MENU_ITEM
       
   106 			{
       
   107 			command = EGuiConsSettingsSubMenu;
       
   108 			cascade = r_guicons_settings_submenu;
       
   109 			txt = "Settings";
       
   110 			},
       
   111  		MENU_ITEM
       
   112 			{
       
   113 			command = EGuiConsFocusConsole;
       
   114 			txt = "Interactive mode";
       
   115 			},
       
   116 		MENU_ITEM
       
   117 			{
       
   118 			command = EGuiConsFocusEdwin;
       
   119 			txt = "Line mode";
       
   120 			},
       
   121 		MENU_ITEM
       
   122 			{
       
   123 			command = EAknSoftkeyExit;
       
   124 			txt = "Exit";
       
   125 			},
       
   126 		MENU_ITEM
       
   127 			{
       
   128 			command = EGuiConsCloseConsole;
       
   129 			txt = "Close console";
       
   130 			}
       
   131 		};
       
   132 	}
       
   133 
       
   134 RESOURCE LOCALISABLE_APP_INFO r_guicons_localisable_app_info
       
   135 	{
       
   136 	short_caption = "guicons";
       
   137 	caption_and_icon = 
       
   138 	CAPTION_AND_ICON_INFO
       
   139 		{
       
   140 		caption = "guicons";
       
   141 		number_of_icons = 1;
       
   142 		icon_file = "\\Resource\\Apps\\guicons.mif";
       
   143 		};
       
   144 	}
       
   145 
       
   146 RESOURCE EDWIN r_guicons_lineeditor_edwin
       
   147 	{
       
   148 	flags = EEikEdwinNoWrap | EEikEdwinLineCursor | EEikEdwinNoLineOrParaBreaks;
       
   149 	width = 100;
       
   150 	default_case = EAknEditorLowerCase;
       
   151 	max_view_height_in_lines = 1;	
       
   152 	}
       
   153 
       
   154 RESOURCE MENU_PANE r_guicons_tabs_submenu
       
   155 	{
       
   156 	items=
       
   157 		{
       
   158 		};
       
   159 	}
       
   160 
       
   161 RESOURCE MENU_PANE r_guicons_navigation_submenu
       
   162 	{
       
   163 	items=
       
   164 		{
       
   165 		MENU_ITEM
       
   166 			{
       
   167 			command = EGuiConsPageUp;
       
   168 			txt = "Page up";
       
   169 			},
       
   170 		MENU_ITEM
       
   171 			{
       
   172 			command = EGuiConsPageDown;
       
   173 			txt = "Page Down";
       
   174 			},
       
   175 		MENU_ITEM
       
   176 			{
       
   177 			command = EGuiConsHome;
       
   178 			txt = "Home";
       
   179 			},
       
   180 		MENU_ITEM
       
   181 			{
       
   182 			command = EGuiConsEnd;
       
   183 			txt = "End";
       
   184 			}
       
   185 		};
       
   186 	}
       
   187 
       
   188 RESOURCE MENU_PANE r_guicons_settings_submenu
       
   189 	{
       
   190 	items=
       
   191 		{
       
   192 		MENU_ITEM
       
   193 			{
       
   194 			command = EGuiConsLongPressSwitchesTabs;
       
   195 			txt = "Long press switches tabs";
       
   196 			flags = EEikMenuItemCheckBox;
       
   197 			},
       
   198 		MENU_ITEM
       
   199 			{
       
   200 			command = EGuiConsShow5Way;
       
   201 			txt = "Show 5-way nav";
       
   202 			flags = EEikMenuItemCheckBox;
       
   203 			},
       
   204 		MENU_ITEM
       
   205 			{
       
   206 			command = EGuiConsChooseFont;
       
   207 			txt = "Choose font";
       
   208 			},
       
   209 		MENU_ITEM
       
   210 			{
       
   211 			command = EGuiConsResetFont;
       
   212 			txt = "Use default font";
       
   213 			}
       
   214 		};
       
   215 	}
       
   216 
       
   217 RESOURCE MENU_PANE r_guicons_commands_submenu
       
   218 	{
       
   219 	items=
       
   220 		{
       
   221 		};
       
   222 	}