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

📄 chinesedisplay.rss

📁 This C++ application demonstrates how to display Chinese characters from resource files. The applica
💻 RSS
字号:
/*
* ============================================================================
*  Name     : ChineseDisplay.rss
*  Part of  : ChineseDisplay
*  Created  : 04/09/2002 by Forum Nokia
*  Description:
*     This file contains all the resources for the ChineseDisplay.
*  Version  :
*  Copyright: Nokia Corporation, 2003
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    CHID	// 4 letter ID

#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <appinfo.rh>
#include <eikon.rh>

#include "ChineseDisplay.hrh"
#include "ChineseDisplay.loc"

//===========================================================================
// The Text in source file are encoded in UTF-8. This is very important to 
// make Chinese characters displayed correctly in Symbian applications
//===========================================================================
CHARACTER_SET UTF8

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF 
	{ 
	buf=""; 
	}
	
RESOURCE EIK_APP_INFO
    {
    menubar = r_chinese_display_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;     
    }


//----------------------------------------------------
//   
//    r_ChineseDisplay_menubar
//    Chinese Display menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_chinese_display_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane = r_chinese_display_menu; txt=""; }
        };
    }

//----------------------------------------------------
//   
//    r_ChineseDisplay_menu
//    Chinese Display menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_chinese_display_menu
    {
    items=
        {
        MENU_ITEM 
			{ 
			command = EChineseDisplayCmdTest; 
			txt=qtn_test; 
			},
        MENU_ITEM 
			{ 
			command = EChineseDisplayCmdHello; 
			txt = qtn_hello; 
			},
        MENU_ITEM 
			{ 
			command = EChineseDisplayCmdHelp; 
			txt = qtn_help; 
			},
        MENU_ITEM 
	  		{ 
			command = EAknCmdExit; 
			txt=qtn_exit; 
			}
        };
    }

RESOURCE TBUF r_chinesedisplay_view_title
	{
    buf = qtn_chinesedisplay_view_title;
	}

RESOURCE TBUF r_example_text_hello 
	{ 
	buf = qtn_hello ;
	}

RESOURCE TBUF64 r_example_view_title 
	{ 
	buf = qtn_sample_window_title;
	}

RESOURCE TBUF64 r_example_add_control_here 
	{ 
	buf = qtn_add_your_control_here;
	}      

RESOURCE LOCALISABLE_APP_INFO r_chinesedisplay_localisable_app_info
	{
	short_caption = qtn_app_short_caption_string;
	caption_and_icon =
		{
		CAPTION_AND_ICON_INFO 
			{
			caption = qtn_app_caption_string;
			
			number_of_icons = 1;
			icon_file=STRING_r_ChineseDisplay_icon_path;
			}
		};
	}

⌨️ 快捷键说明

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