|
1 /* |
|
2 * Name : Application.rss |
|
3 * Description : Application resource file |
|
4 * Project : This file is part of OpenMAR, an Open Mobile Augmented Reality browser |
|
5 * Website : http://OpenMAR.org |
|
6 * |
|
7 * Copyright (c) 2010 David Caabeiro |
|
8 * |
|
9 * All rights reserved. This program and the accompanying materials are made available |
|
10 * under the terms of the Eclipse Public License v1.0 which accompanies this |
|
11 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html |
|
12 * |
|
13 */ |
|
14 |
|
15 NAME ARXX // 4 letter ID |
|
16 |
|
17 // INCLUDES |
|
18 #include <eikon.rh> |
|
19 #include <avkon.rsg> |
|
20 #include <avkon.rh> |
|
21 #include <appinfo.rh> |
|
22 |
|
23 #include "Application.hrh" |
|
24 #include "Application.rls" |
|
25 |
|
26 RESOURCE RSS_SIGNATURE |
|
27 { |
|
28 } |
|
29 |
|
30 RESOURCE TBUF r_default_document_name |
|
31 { |
|
32 } |
|
33 |
|
34 RESOURCE EIK_APP_INFO |
|
35 { |
|
36 // cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
37 } |
|
38 |
|
39 RESOURCE AVKON_VIEW r_splash_view |
|
40 { |
|
41 } |
|
42 |
|
43 RESOURCE AVKON_VIEW r_ar_view |
|
44 { |
|
45 // cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
46 // menubar = r_ar_menubar; |
|
47 // toolbar = r_ar_toolbar; |
|
48 } |
|
49 |
|
50 RESOURCE MENU_BAR r_ar_menubar |
|
51 { |
|
52 titles = |
|
53 { |
|
54 MENU_TITLE { menu_pane = r_ar_menu; } |
|
55 }; |
|
56 } |
|
57 |
|
58 RESOURCE MENU_PANE r_ar_menu |
|
59 { |
|
60 items = |
|
61 { |
|
62 MENU_ITEM |
|
63 { |
|
64 command = EAbout; |
|
65 txt = qtn_about; |
|
66 }, |
|
67 MENU_ITEM |
|
68 { |
|
69 command = EAknSoftkeyExit; |
|
70 txt = qtn_exit; |
|
71 } |
|
72 }; |
|
73 } |
|
74 |
|
75 /* |
|
76 RESOURCE AVKON_TOOLBAR r_ar_toolbar |
|
77 { |
|
78 // flags = KAknToolbarFixed | KAknToolbarDsaMode; |
|
79 flags = KAknToolbarFixed; |
|
80 items = |
|
81 { |
|
82 TBAR_CTRL |
|
83 { |
|
84 type = EAknCtButton; |
|
85 id = EHelp; |
|
86 control = AVKON_BUTTON |
|
87 { |
|
88 flags = KAknButtonNoFrame; |
|
89 states = |
|
90 { |
|
91 AVKON_BUTTON_STATE |
|
92 { |
|
93 txt = "Option1"; |
|
94 helptxt = ""; |
|
95 } |
|
96 }; |
|
97 }; |
|
98 } |
|
99 , |
|
100 TBAR_CTRL |
|
101 { |
|
102 type = EAknCtButton; |
|
103 id = EHelp; |
|
104 control = AVKON_BUTTON |
|
105 { |
|
106 flags = KAknButtonNoFrame; |
|
107 states = |
|
108 { |
|
109 AVKON_BUTTON_STATE |
|
110 { |
|
111 txt = "Option2"; |
|
112 helptxt = ""; |
|
113 } |
|
114 }; |
|
115 }; |
|
116 } |
|
117 , |
|
118 TBAR_CTRL |
|
119 { |
|
120 type = EAknCtButton; |
|
121 id = EHelp; |
|
122 control = AVKON_BUTTON |
|
123 { |
|
124 flags = KAknButtonNoFrame; |
|
125 states = |
|
126 { |
|
127 AVKON_BUTTON_STATE |
|
128 { |
|
129 txt = "Option3"; |
|
130 helptxt = ""; |
|
131 } |
|
132 }; |
|
133 }; |
|
134 } |
|
135 , |
|
136 TBAR_CTRL |
|
137 { |
|
138 type = EAknCtToolbarExtension; |
|
139 id = ECmdDataSource; |
|
140 |
|
141 control = AVKON_TOOLBAR_EXTENSION |
|
142 { |
|
143 flags = KAknButtonNoFrame | KAknTbExtensionDsaMode | KAknTbExtensionTransparent; |
|
144 }; |
|
145 } |
|
146 }; |
|
147 } |
|
148 */ |
|
149 |
|
150 |
|
151 |
|
152 RESOURCE DIALOG r_about_query_dialog |
|
153 { |
|
154 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
155 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
156 items= |
|
157 { |
|
158 DLG_LINE |
|
159 { |
|
160 type = EAknCtPopupHeadingPane; |
|
161 id = EAknMessageQueryHeaderId; |
|
162 itemflags = EEikDlgItemNonFocusing; |
|
163 control = AVKON_HEADING |
|
164 { |
|
165 }; |
|
166 }, |
|
167 DLG_LINE |
|
168 { |
|
169 type = EAknCtMessageQuery; |
|
170 id = EAknMessageQueryContentId; |
|
171 control = AVKON_MESSAGE_QUERY |
|
172 { |
|
173 }; |
|
174 } |
|
175 }; |
|
176 } |
|
177 |
|
178 RESOURCE DIALOG r_wait_dialog |
|
179 { |
|
180 flags = EAknWaitNoteFlags; |
|
181 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
182 items = |
|
183 { |
|
184 DLG_LINE |
|
185 { |
|
186 type = EAknCtNote; |
|
187 id = EDialogWait; |
|
188 control = AVKON_NOTE |
|
189 { |
|
190 layout = EWaitLayout; |
|
191 singular_label = qtn_wait_text; |
|
192 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
193 }; |
|
194 } |
|
195 }; |
|
196 } |
|
197 |
|
198 |
|
199 RESOURCE TBUF r_caption_string { buf = qtn_caption_string; } |
|
200 RESOURCE TBUF r_about_dialog_title { buf = qtn_about_dialog_title; } |
|
201 RESOURCE TBUF r_about_dialog_text { buf = qtn_about_dialog_text; } |
|
202 |
|
203 RESOURCE TBUF r_screenshot_text_ok { buf = qtn_screenshot_text_ok; } |
|
204 RESOURCE TBUF r_screenshot_text_error { buf = qtn_screenshot_text_error; } |
|
205 |
|
206 |
|
207 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info |
|
208 { |
|
209 short_caption = qtn_caption_string; |
|
210 caption_and_icon = |
|
211 CAPTION_AND_ICON_INFO |
|
212 { |
|
213 caption = qtn_caption_string; |
|
214 |
|
215 number_of_icons = 1; |
|
216 icon_file = "\\resource\\apps\\OpenMAR_0x2002E1AB.mif"; |
|
217 }; |
|
218 } |