📄 progbuild.rss
字号:
// ProgBuild.rss
//
// Copyright (c) 1999-2007 Symbian Software Ltd. All rights reserved.
//
// $Change: 937687 $
NAME PROG
#include <eikon.rh>
#include <uikon.rh>
#include <eikcore.rsg>
#include <eikctl.rsg>
#include <eikcoctl.rsg>
#include <uikon.hrh>
#include "ProgBuild.hrh"
#define ELLIPSIS 133
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = ""; }
RESOURCE EIK_APP_INFO
{
menubar = r_progbuild_menubar;
hotkeys = r_progbuild_hotkeys;
toolbar = r_progbuild_toolbar;
}
RESOURCE TOOLBAR r_progbuild_toolbar
{
breadth = KEikStdToolBarWidth;
controls=
{
TBAR_CTRL
{
id = EFileName;
type = EEikCtFileNameLabel;
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdFileNameLabelHeight;
},
TBAR_BUTTON
{
id = EIncrease;
txt = "Increase";
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdToolBarButtonHeight;
},
TBAR_BUTTON
{
id = EIncreaseBy;
txt = "Increase\nBy";
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdToolBarButtonHeight;
},
TBAR_BUTTON
{
id = EDecrease;
txt = "De-\ncrease";
flags = EEikToolBarCtrlHasSetMinLength;
length = KEikStdToolBarButtonHeight;
},
TBAR_BUTTON
{
id = EReset;
txt = "Reset";
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_progbuild_hotkeys
{
control=
{
HOTKEY { command = EIncrease; key = 'i'; },
HOTKEY { command = EDecrease; key = 'd'; },
HOTKEY { command = EEikCmdExit; key = 'e'; }
};
shift_control=
{
HOTKEY { command = EIncreaseBy; key = 'i'; },
HOTKEY { command = EDecreaseBy; key = 'd'; }
};
}
RESOURCE MENU_BAR r_progbuild_menubar
{
titles=
{
MENU_TITLE { menu_pane = r_progbuild_file_menu; txt = "File"; },
MENU_TITLE { menu_pane = r_progbuild_options_menu; txt = "Options"; }
};
}
RESOURCE MENU_PANE r_progbuild_file_menu
{
items=
{
MENU_ITEM { command = EEikCmdExit; txt = "Close"; }
};
}
RESOURCE MENU_PANE r_progbuild_options_menu
{
items=
{
MENU_ITEM { command = EIncrease; txt = "Increase"; },
MENU_ITEM { command = EIncreaseBy; txt = "Increase By"; },
MENU_ITEM { command = EDecrease; txt = "Decrease"; },
MENU_ITEM { command = EDecreaseBy; txt = "Decrease By"; },
MENU_ITEM { command = EReset; txt = "Reset"; }
};
}
RESOURCE DIALOG r_counter_incr_dialog
{
title = "Increment Counter"; // dialog title
buttons = R_EIK_BUTTONS_CANCEL_OK; // dialog buttons
flags = EEikDialogFlagWait; // flags
items=
{ // define two dialog lines,
DLG_LINE // each containing a number editor
{
type = EEikCtNumberEditor; // define the type of control as a number editor
prompt = "Increase by:"; // Define a prompt
id = ECounterOperand; // Give the dialog line an ID
control = NUMBER_EDITOR // specify the number editor, including
{
min = 0;
max = 99999;
};
}
};
}
RESOURCE DIALOG r_counter_decr_dialog
{
title = "Decrement Counter"; // dialog title
buttons = R_EIK_BUTTONS_CANCEL_OK; // dialog buttons
flags = EEikDialogFlagWait; // flags
items=
{ // define two dialog lines,
DLG_LINE // each containing a number editor
{
type = EEikCtNumberEditor; // define the type of control as a number editor
prompt = "Decrease by:"; // Define a prompt
id = ECounterOperand; // Give the dialog line an ID
control = NUMBER_EDITOR // specify the number editor, including
{
min = 0;
max = 99999;
};
}
};
}
RESOURCE TBUF r_func_not_supported {buf = "Sorry, this function is not supported"; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -