⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chinesedisplay1.rss

📁 此代码是SYMBIAN平台.中文显示技巧.在第二第三版上大部分手机上测试通过.用于解惑中文显示的SYMBIAN开发人员
💻 RSS
字号:
/*
============================================================================
 Name        : ChineseDisplay1.rss
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : This file contains all the resources for the ChineseDisplay1.
============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    AWIZ // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include "ChineseDisplay1.hrh"
#include "ChineseDisplay1.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>



//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "ChineseDisplay1"; }

RESOURCE EIK_APP_INFO
    {
    hotkeys = r_chinesedisplay1_hotkeys;
    menubar = r_chinesedisplay1_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;     
    }

//----------------------------------------------------
//   
//    r_chinesedisplay1_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_chinesedisplay1_hotkeys
    {
    control =
        {
        HOTKEY { command = EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_chinesedisplay1_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_chinesedisplay1_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_chinesedisplay1_menu; txt = "File"; }
        };
    }

//----------------------------------------------------
//   
//    r_chinesedisplay1_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_chinesedisplay1_menu
    {
    items =
        {
        MENU_ITEM { command = EChineseDisplay1CmdAppTest; txt = qtn_appl_test; },
        MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }
        };
    }

//----------------------------------------------------------------------
//  r_$(elementName)_text -- Localized string used by the application
//----------------------------------------------------------------------
/*
References to the following line in the .loc file:
	#define R_MESSAGE_TEXT_STRING "Hello world!"
With S60 you can load the buffer by using StringLoader (more flexible API):
	#include <StringLoader.h>	// Link against: CommonEngine.lib 
	HBufC* text = StringLoader::LoadLC(R_MESSAGE_TEXT);
	// Do something with the string
	CleanupStack::PopAndDestroy(text);
Or in the traditional Symbian OS way with CCoeEnv::AllocReadResourceLC():
	#include <eikenv.h>			// Link against: eikcore.lib
	HBufC* text = CEikonEnv::Static()->AllocReadResourceLC(R_MESSAGE_TEXT);
	// Do something with the string
	CleanupStack::PopAndDestroy(text);
*/
RESOURCE TBUF r_message_text {	buf = R_MESSAGE_TEXT_STRING; }


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -