|
1 /* |
|
2 * Copyright (c) 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 "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: Resource file for Optical Joystick |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME OptJ // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include "GSOpticalJoystickPlugin.hrh" |
|
24 #include <gsopticaljoystickplugin.loc> |
|
25 |
|
26 #include <gs.loc> |
|
27 #include <gscommon.rh> |
|
28 #include <appinfo.rh> |
|
29 #include <avkon.loc> |
|
30 #include <avkon.mbg> |
|
31 #include <avkon.rsg> |
|
32 #include <AvkonIcons.hrh> |
|
33 #include <bldvariant.hrh> |
|
34 #include <data_caging_paths_strings.hrh> |
|
35 #include <eikcore.rsg> |
|
36 #include <eikon.rsg> |
|
37 #include <uikon.rh> |
|
38 #include <gsapp.rsg> |
|
39 |
|
40 // CONSTANTS |
|
41 |
|
42 // RESOURCE DEFINITIONS |
|
43 |
|
44 RESOURCE RSS_SIGNATURE |
|
45 { |
|
46 } |
|
47 |
|
48 // Common resources among GS |
|
49 #include "GSCommonResources.rss" |
|
50 |
|
51 |
|
52 RESOURCE TBUF |
|
53 { |
|
54 buf="OptJ"; |
|
55 } |
|
56 |
|
57 //---------------------------------------------------- |
|
58 // |
|
59 // EIK_APP_INFO |
|
60 // It contains application information. |
|
61 // |
|
62 //---------------------------------------------------- |
|
63 // |
|
64 RESOURCE EIK_APP_INFO |
|
65 { |
|
66 } |
|
67 |
|
68 |
|
69 //---------------------------------------------------- |
|
70 // r_gs_opticaljoystick_view_caption |
|
71 // |
|
72 // Data call view caption for plugin |
|
73 //---------------------------------------------------- |
|
74 // |
|
75 RESOURCE TBUF r_gs_opticaljoystick_view_caption |
|
76 { |
|
77 buf = qtn_set_optical_joystick; |
|
78 } |
|
79 |
|
80 //---------------------------------------------------- |
|
81 // |
|
82 // r_gs_csd_view_title |
|
83 // Data call view's title. |
|
84 // |
|
85 //---------------------------------------------------- |
|
86 // |
|
87 RESOURCE TITLE_PANE r_gs_opticaljoystick_view_title |
|
88 { |
|
89 txt = qtn_set_optical_joystick; |
|
90 } |
|
91 |
|
92 //---------------------------------------------------- |
|
93 // |
|
94 // r_gs_dcall_view |
|
95 // Data call view. |
|
96 // |
|
97 //---------------------------------------------------- |
|
98 // |
|
99 RESOURCE AVKON_VIEW r_gs_opticaljoystick_view |
|
100 { |
|
101 menubar = r_gs_menubar_change_exit; |
|
102 cba = R_GS_SOFTKEYS_OPTIONS_BACK_CHANGE; |
|
103 } |
|
104 |
|
105 |
|
106 //---------------------------------------------------- |
|
107 // |
|
108 // r_dcall_lbx |
|
109 // Data call view's listbox. |
|
110 // |
|
111 //---------------------------------------------------- |
|
112 // |
|
113 RESOURCE GS_FEATURE_ARRAY r_opticaljoystick_lbx |
|
114 { |
|
115 items = |
|
116 { |
|
117 GS_FEATURE |
|
118 { |
|
119 txt = " \t"qtn_set_optical_joystick"\t\t"; |
|
120 item = KGSSettIdOptJoyst; |
|
121 } |
|
122 }; |
|
123 } |
|
124 |
|
125 //---------------------------------------------------- |
|
126 // |
|
127 // r_opticaljoystick_setting_page |
|
128 // Optical joystick setting page. |
|
129 // |
|
130 //---------------------------------------------------- |
|
131 // |
|
132 RESOURCE AVKON_SETTING_PAGE r_opticaljoystick_setting_page |
|
133 { |
|
134 number = EAknSettingPageNoOrdinalDisplayed; |
|
135 label = qtn_set_optical_joystick; |
|
136 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
137 type = EAknSetListBox; |
|
138 editor_resource_id = r_setting_listbox; |
|
139 } |
|
140 |
|
141 //---------------------------------------------------- |
|
142 // |
|
143 // r_opticaljoystick_setting_page_lbx |
|
144 // Optical joystick setting page's listbox. |
|
145 // |
|
146 //---------------------------------------------------- |
|
147 // |
|
148 RESOURCE ARRAY r_opticaljoystick_setting_page_lbx |
|
149 { |
|
150 items = |
|
151 { |
|
152 LBUF |
|
153 { |
|
154 txt = qtn_set_optical_joystick_off; |
|
155 }, |
|
156 LBUF |
|
157 { |
|
158 txt = qtn_set_optical_joystick_on; |
|
159 } |
|
160 }; |
|
161 } |
|
162 |
|
163 RESOURCE TBUF r_optical_joystick_on |
|
164 { |
|
165 buf = qtn_set_optical_joystick_on; |
|
166 } |
|
167 |
|
168 RESOURCE TBUF r_optical_joystick_off |
|
169 { |
|
170 buf = qtn_set_optical_joystick_off; |
|
171 } |
|
172 |
|
173 //End of File |