📄 simplemenu.rss
字号:
/**
*
* @brief Resource file for SimpleMenu application
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// RESOURCE IDENTIFIER
NAME MEN1 // 4 letter ID
// INCLUDES
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <eikon.rh>
#include "SimpleMenu.hrh"
#include "SimpleMenu.loc"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf="SimpleMenu"; }
RESOURCE EIK_APP_INFO
{
menubar=r_simplemenu_menu_bar;
cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
}
//----------------------------------------------------
//
// r_simplemenu_menu_bar
// options menu for the application
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_simplemenu_menu_bar
{
titles=
{
MENU_TITLE
{
txt = ""; // the text is not used in Series 60
menu_pane = r_simplemenu_menu_pane;
}
};
}
//----------------------------------------------------
//
// r_simplemenu_menu_pane
// options menu pane for the application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_simplemenu_menu_pane
{
items =
{
MENU_ITEM
{
command = ESimpleMenuCmdNewGame;
txt = NEW_GAME_TEXT;
cascade = r_simplemenu_game_submenu_menu_pane;
},
MENU_ITEM
{
command = EAknCmdExit;
txt = EXIT_TEXT;
}
};
}
//----------------------------------------------------
//
// r_simplemenu_game_submenu_menu_pane
// new game submenu menu pane
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_simplemenu_game_submenu_menu_pane
{
items =
{
MENU_ITEM
{
command = ESimpleMenuCmdViaIR;
txt = VIA_IR_TEXT;
},
MENU_ITEM
{
command = ESimpleMenuCmdViaBluetooth;
txt = VIA_BLUETOOTH_TEXT;
},
MENU_ITEM
{
command = ESimpleMenuCmdViaSMS;
txt = VIA_SMS_TEXT;
}
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -