📄 resman.rss
字号:
// resman.rss
//
// Copyright (c) 1999-2007 Symbian Software Ltd. All rights reserved.
//
// $Change: 1034634 $
NAME RESM
#include <uikon.rh>
#include <eikcore.rsg>
#include <eikon.rh>
#include <eikon.rsg>
#include "resman.hrh"
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = ""; }
RESOURCE EIK_APP_INFO
{
menubar = r_res_menubar;
hotkeys = r_res_hotkeys;
toolbar = r_res_toolbar;
}
RESOURCE TOOLBAR r_res_toolbar
{
breadth = KEikStdToolBarWidth;
controls=
{
TBAR_CTRL
{
id = EResCmdFileName;
type = EEikCtFileNameLabel;
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdFileNameLabelHeight;
},
TBAR_BUTTON
{
id = EResCmd1;
txt = "Leak";
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdToolBarButtonHeight;
},
TBAR_BUTTON
{
id = EResCmd2;
txt = "Simple\nC++";
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdToolBarButtonHeight;
},
TBAR_BUTTON
{
id = EResCmd3;
txt = "Complex\nC++";
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdToolBarButtonHeight;
},
TBAR_BUTTON
{
id = EResCmd4;
txt = "Complex\n2 Phase";
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdToolBarButtonHeight;
},
TBAR_CTRL
{
type = EEikCtSpacer;
flags = EEikToolBarCtrlHasSetMinLength | EEikToolBarCtrlIsStretchable;
length = 0;
control = SPACER;
},
TBAR_CTRL
{
type = EEikCtClock;
control = CLOCK { digitalresourceid = R_EIK_DIGITAL_CLOCK; analogresourceid = R_EIK_ANALOG_CLOCK; };
},
TBAR_CTRL
{
type = EEikCtSpacer;
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdGapBelowClock;
control = SPACER;
}
};
}
RESOURCE HOTKEYS r_res_hotkeys
{
control=
{
HOTKEY { command = EResCmd1; key = 'a'; },
HOTKEY { command = EResCmd2; key = 'b'; },
HOTKEY { command = EResCmd3; key = 'c'; },
HOTKEY { command = EResCmd4; key = 'd'; },
HOTKEY { command = EEikCmdExit; key = 'e'; }
};
}
RESOURCE MENU_BAR r_res_menubar
{
titles=
{
MENU_TITLE { menu_pane = r_res_file_menu; txt = "File"; },
MENU_TITLE { menu_pane = r_res_tools_menu; txt = "Tools"; }
};
}
RESOURCE MENU_PANE r_res_file_menu
{
items=
{
MENU_ITEM { command = EEikCmdExit; txt = "Close"; }
};
}
RESOURCE MENU_PANE r_res_tools_menu
{
items=
{
MENU_ITEM { command = EResCmd1; txt = "Leak"; },
MENU_ITEM { command = EResCmd2; txt = "Simple C++"; },
MENU_ITEM { command = EResCmd3; txt = "Complex C++"; },
MENU_ITEM { command = EResCmd4; txt = "2 Phase Construction"; }
};
}
RESOURCE TBUF r_res_command_1 { buf = "Leak"; }
RESOURCE TBUF r_res_command_2 { buf = "Simple C++"; }
RESOURCE TBUF r_res_command_3 { buf = "Complex C++"; }
RESOURCE TBUF r_res_command_4 { buf = "2 Phase Construction"; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -