|
1 /* |
|
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME TGBS |
|
20 |
|
21 CHARACTER_SET UTF8 |
|
22 |
|
23 #include <eikon.rh> |
|
24 #include <eikcore.rsg> |
|
25 #include <appinfo.rh> |
|
26 |
|
27 #include "Tgb18030.hrh" |
|
28 |
|
29 RESOURCE RSS_SIGNATURE { } |
|
30 |
|
31 RESOURCE TBUF { buf=""; } |
|
32 |
|
33 RESOURCE EIK_APP_INFO |
|
34 { |
|
35 hotkeys=r_tgb18030_hotkeys; |
|
36 menubar=r_tgb18030_menubar; |
|
37 } |
|
38 |
|
39 RESOURCE HOTKEYS r_tgb18030_hotkeys |
|
40 { |
|
41 control= |
|
42 { |
|
43 HOTKEY { command=EEikCmdExit; key='e'; } |
|
44 }; |
|
45 } |
|
46 |
|
47 RESOURCE MENU_BAR r_tgb18030_menubar |
|
48 { |
|
49 titles= |
|
50 { |
|
51 MENU_TITLE { menu_pane=r_tgb18030_first_menu; txt="GB18030测试"; } |
|
52 }; |
|
53 } |
|
54 |
|
55 RESOURCE MENU_PANE r_tgb18030_first_menu |
|
56 { |
|
57 items= |
|
58 { |
|
59 MENU_ITEM { command=ETgb18030Item0; txt="菜单1包括surrogate𨍳𨍴𨍵𠂻𠂼𠂽𠂾"; }, |
|
60 MENU_ITEM { command=EEikCmdExit; txt="Close"; } |
|
61 }; |
|
62 } |
|
63 |
|
64 STRUCT TBUF8192 { BUF<8192> buf; } |
|
65 RESOURCE TBUF r_tgb18030_text_Item0 { buf="你好"; } |
|
66 RESOURCE TBUF8192 r_tgb18030_text_Hello { buf=<0x6211><0x2837e><0x6211><0x2837b><0x2837a><0x68><0x6211>"Hello world 注意 CAUTIONThisIsALongStringHelloworldHelloworldHelloworldHelloworldHelloworldHelloworld你好gb18030㒭㒣㐄𠂬𠂭𠂮𠂯𠂰𠂱𠂲𠂳𠂴𠂵𠂶𠂷𠂸𠂹!helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld你好gb18030㒭㒣㐄𠂬𠂭𠂮𠂯𠂰𠂱𠂲𠂳𠂴𠂵𠂶𠂷𠂸𠂹!"; } |
|
67 RESOURCE TBUF r_trcomp_text_pos1 { buf="𠀀𪛖𠀃"; } |
|
68 |
|
69 RESOURCE RTXTED r_output_view_rtexted |
|
70 { |
|
71 numlines = 5; |
|
72 textlimit= 500; |
|
73 fontcontrolflags = EGulFontControlAll; |
|
74 fontnameflags = EGulNoSymbolFonts; |
|
75 } |
|
76 |
|
77 |
|
78 RESOURCE LOCALISABLE_APP_INFO r_lai |
|
79 { |
|
80 short_caption = "TG"; |
|
81 caption_and_icon = |
|
82 { |
|
83 CAPTION_AND_ICON_INFO |
|
84 { |
|
85 caption = "Tgb18030"; |
|
86 number_of_icons = 3; // each icon must be a bitmap/mask pair |
|
87 icon_file = "z:\\resource\\apps\\Tgb18030.mbm"; |
|
88 } |
|
89 }; |
|
90 } |