📄 s60memorylab.rss
字号:
// Copyright: (c) 2006 Nokia Ltd. All rights reserved.
// This file contains all the resources for the S60MemoryLab.
// RESOURCE IDENTIFIER
NAME S60M // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.hrh>
#include <appinfo.rh>
#include "S60MemoryLab.hrh"
#include "S60MemoryLab.rls"
// RESOURCE DEFINITIONS
// -----------------------------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// -----------------------------------------------------------------------------
//
// Default Document Name
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
{
buf="HEWB";
}
// -----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar=r_s60memorylab_menubar;
cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
}
//----------------------------------------------------
//
// r_s60memorylab_menubar
// Main menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_s60memorylab_menubar
{
titles=
{
MENU_TITLE { menu_pane=r_s60memorylab_menu; }
};
}
//----------------------------------------------------
//
// r_s60memorylab_menu
// Menu for "Options"
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_s60memorylab_menu
{
items=
{
MENU_ITEM { command=EAknCmdExit; txt=qtn_exit; },
MENU_ITEM { command=ES60MemoryLabCmdToggleLabels; txt=qtn_cmd_togglelabels; },
MENU_ITEM { command=ES60MemoryLabCmdCleanupStackTest; txt=qtn_cmd_cleanupstacktest; }
};
}
// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF32 r_command1_text { buf=qtn_command1_text; }
RESOURCE TBUF32 r_caption_string { buf=qtn_caption_string; }
// ----------------------------------------------------------------------------
//
// r_localisable_app_info
//
// ----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
short_caption = qtn_caption_string;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = qtn_caption_string;
number_of_icons = 1;
icon_file = "\\resource\\apps\\S60MemoryLab.mif";
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -