📄 calculate24.rss
字号:
/* Copyright (c) 2005, Nokia. All rights reserved */
NAME CALC
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include "Calculate24.hrh"
// ---------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// ---------------------------------------------------------
//
// Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_calculate24_default_doc_name
{
buf="";
}
// ---------------------------------------------------------
//
// Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_calculate24_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_calculate24_menubar
// Menubar for Calculate24 example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_calculate24_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_calculate24_menu;
}
};
}
// ---------------------------------------------------------
//
// r_calculate24_menu
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_calculate24_menu
{
items =
{
MENU_ITEM
{
command = ECalculateMalloc;
txt = "Malloc";
},
MENU_ITEM
{
command = ECalculateSetNum1;
txt = "SetNum1";
},
MENU_ITEM
{
command = ECalculateSetNum2;
txt = "SetNum2";
},
MENU_ITEM
{
command = ECalculateSetNum3;
txt = "SetNum3";
},
MENU_ITEM
{
command = ECalculateSetNum4;
txt = "SetNum4";
},
MENU_ITEM
{
command = ECalculateSetTotal;
txt = "SetTotal";
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = "Exit";
}
};
}
RESOURCE DIALOG r_dialog_input
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control= AVKON_DATA_QUERY
{
layout = EPhoneLayout;
label = "Please input number:";
control = EDWIN
{
maxlength = 3;
};
};
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -