?? normaltexteditor.rss
字號(hào):
/*
* ============================================================================
* Name : NormalTextEditor.rss
* Part of : NormalTextEditor
* Created : 2006-4-7 by hewei
* Description:
* This file contains all the resources for the NormalTextEditor.
* Initial content was generated by Series 60 AppWizard.
* Version :
* Copyright: myself
* ============================================================================
*/
// RESOURCE IDENTIFIER
NAME AWIZ // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include "normaltexteditor.hrh"
#include "normaltexteditor.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <avkon.loc>
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = "NormalTextEditor"; }
RESOURCE EIK_APP_INFO
{
hotkeys = r_normaltexteditor_hotkeys;
menubar = r_normaltexteditor_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
}
//----------------------------------------------------
//
// r_normaltexteditor_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_normaltexteditor_hotkeys
{
control =
{
HOTKEY { command = EAknCmdExit; key='e'; }
};
}
//----------------------------------------------------
//
// r_normaltexteditor_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_normaltexteditor_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_normaltexteditor_menu; txt = "File"; }
};
}
//----------------------------------------------------
//
// r_normaltexteditor_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_normaltexteditor_menu
{
items =
{
MENU_ITEM { command = ENormalTextEditorCmdAppPlainTextEditor; txt = qtn_appl_plain_text_editor; },
MENU_ITEM { command = ENormalTextEditorCmdAppRichTextEditor; txt = qtn_appl_rich_text_editor; },
MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
};
}
//PlainText Editor
RESOURCE EDWIN r_plain_text_editor
{
width=30;
lines=5;
maxlength=30;
flags=EEikEdwinWidthInPixels;
avkon_flags=EAknEditorFlagNoT9;
default_case=EAknEditorLowerCase;
allowed_case_modes=EAknEditorUpperCase|EAknEditorLowerCase;
numeric_keymap=EAknEditorPlainNumberModeKeymap;
allowed_input_modes=EAknEditorTextInputMode|EAknEditorNumericInputMode;
default_input_mode=EAknEditorTextInputMode;
special_character_table=R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
}
//RichText Editor
RESOURCE RTXTED r_rich_text_editor
{
width=20;
height=20;
textlimit=100;
flags=EEikEdwinAvkonDisableCursor;
avkon_flags=EAknEditorFlagEnableScrollBars;
}
// End of File
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -