|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * Resource definitions for Bubble plugin. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 //============================================================================= |
|
23 // RESOURCE INDENTIFIER |
|
24 //============================================================================= |
|
25 NAME PGN0 |
|
26 |
|
27 //============================================================================= |
|
28 // INCLUDES |
|
29 //============================================================================= |
|
30 #include <eikon.rh> |
|
31 #include <avkon.rh> |
|
32 #include <avkon.rsg> |
|
33 #include <PathConfiguration.hrh> |
|
34 #include <data_caging_paths_strings.hrh> |
|
35 |
|
36 #include "definitions.def" |
|
37 #include "ImageEditorPluginBase.hrh" |
|
38 #include "bubble.hrh" |
|
39 #include "ImageEditorPluginBase.rh" |
|
40 #include "ImageEditorUids.hrh" |
|
41 #include "bubble_gen.loc" |
|
42 #include <ImageEditor.loc> |
|
43 |
|
44 |
|
45 //============================================================================= |
|
46 // CONSTANTS |
|
47 //============================================================================= |
|
48 |
|
49 |
|
50 //============================================================================= |
|
51 // MACROS |
|
52 //============================================================================= |
|
53 |
|
54 |
|
55 //============================================================================= |
|
56 // RESOURCE DEFINITIONS |
|
57 //============================================================================= |
|
58 |
|
59 RESOURCE RSS_SIGNATURE { } |
|
60 |
|
61 RESOURCE PGNINFO r_plugin_info |
|
62 { |
|
63 pluginuid = UID_BUBBLE_PLUGIN; |
|
64 uitype = EPluginUiTypeCustomized; |
|
65 plugintype = EPluginFilterTypeABITO; |
|
66 pluginscope = EPluginScopeAdjustmentEngine; |
|
67 plugindisplayorder = 7; |
|
68 pluginname = qtn_sie_plugin_name_bubble; |
|
69 iconfile = "bubble.mif"; |
|
70 filterfile = "FilterBubble.dll"; |
|
71 } |
|
72 |
|
73 RESOURCE PARAMNAMES r_plugin_pars |
|
74 { |
|
75 parameters= |
|
76 { |
|
77 // Select bubble |
|
78 qtn_sie_heading_select_bubble, |
|
79 |
|
80 // Plugin main |
|
81 qtn_sie_navi_edit_bubble, |
|
82 |
|
83 // Move bubble |
|
84 qtn_sie_navi_edit_bubble, |
|
85 |
|
86 // Resize bubble |
|
87 qtn_sie_navi_edit_bubble, |
|
88 |
|
89 // Rotate bubble |
|
90 qtn_sie_navi_edit_bubble |
|
91 }; |
|
92 } |
|
93 |
|
94 RESOURCE PGNUIITEMS r_sk1_items |
|
95 { |
|
96 items= |
|
97 { |
|
98 PGNUIITEM |
|
99 { |
|
100 id=EPgnSoftkeyIdOptions; |
|
101 text=qtn_sie_pgn_sk1_options; |
|
102 }, |
|
103 PGNUIITEM |
|
104 { |
|
105 id=EPgnSoftkeyIdOk; |
|
106 text=qtn_sie_pgn_sk1_ok; |
|
107 }, |
|
108 PGNUIITEM |
|
109 { |
|
110 id=EPgnSoftkeyIdOptions; |
|
111 text=qtn_sie_pgn_sk1_options; |
|
112 }, |
|
113 PGNUIITEM |
|
114 { |
|
115 id=EPgnSoftkeyIdEmpty; |
|
116 text=" "; |
|
117 } |
|
118 }; |
|
119 } |
|
120 |
|
121 RESOURCE PGNUIITEMS r_sk2_items |
|
122 { |
|
123 items= |
|
124 { |
|
125 PGNUIITEM |
|
126 { |
|
127 id=EPgnSoftkeyIdCancel; |
|
128 text=qtn_sie_pgn_sk2_cancel; |
|
129 }, |
|
130 PGNUIITEM |
|
131 { |
|
132 id=EPgnSoftkeyIdCancel; |
|
133 text=qtn_sie_pgn_sk2_cancel; |
|
134 }, |
|
135 PGNUIITEM |
|
136 { |
|
137 id=EPgnSoftkeyIdDone; |
|
138 text=qtn_sie_pgn_sk2_done; |
|
139 }, |
|
140 PGNUIITEM |
|
141 { |
|
142 id=EPgnSoftkeyIdEmpty; |
|
143 text=" "; |
|
144 } |
|
145 }; |
|
146 } |
|
147 |
|
148 RESOURCE PGNUIITEMS r_msk_items |
|
149 { |
|
150 items= |
|
151 { |
|
152 PGNUIITEM |
|
153 { |
|
154 id = EAknSoftkeyContextOptions; |
|
155 text = text_softkey_option; |
|
156 }, |
|
157 PGNUIITEM |
|
158 { |
|
159 id=EPgnSoftkeyIdOk; |
|
160 text=qtn_sie_pgn_sk1_ok; |
|
161 }, |
|
162 PGNUIITEM |
|
163 { |
|
164 id = EAknSoftkeyContextOptions; |
|
165 text = text_softkey_option; |
|
166 }, |
|
167 PGNUIITEM |
|
168 { |
|
169 id=EPgnSoftkeyIdEmpty; |
|
170 text=" "; |
|
171 } |
|
172 }; |
|
173 } |
|
174 |
|
175 RESOURCE PGNUIITEMS r_menu_items |
|
176 { |
|
177 items= |
|
178 { |
|
179 // Move |
|
180 PGNUIITEM |
|
181 { |
|
182 id=EBubblePgnMenuCmdMove; |
|
183 text=qtn_sie_options_move_bubble; |
|
184 }, |
|
185 // Resize |
|
186 PGNUIITEM |
|
187 { |
|
188 id=EBubblePgnMenuCmdResize; |
|
189 text=qtn_sie_options_resize_bubble; |
|
190 }, |
|
191 // Rotate |
|
192 PGNUIITEM |
|
193 { |
|
194 id=EBubblePgnMenuCmdRotate; |
|
195 text=qtn_sie_options_rotate_bubble; |
|
196 }, |
|
197 // Cancel |
|
198 PGNUIITEM |
|
199 { |
|
200 id=EBubblePgnMenuCmdCancel; |
|
201 text=qtn_sie_options_cancel_effect; |
|
202 } |
|
203 }; |
|
204 } |
|
205 |
|
206 //============================================================================= |
|
207 // |
|
208 // r_bubble_progress_note |
|
209 // For progress note. |
|
210 // |
|
211 //============================================================================= |
|
212 // |
|
213 RESOURCE DIALOG r_bubble_progress_note |
|
214 { |
|
215 flags = EAknProgressNoteFlags; |
|
216 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
217 items = |
|
218 { |
|
219 DLG_LINE |
|
220 { |
|
221 type = EAknCtNote; |
|
222 id = 11; |
|
223 control = AVKON_NOTE |
|
224 { |
|
225 layout = EProgressLayout; |
|
226 singular_label = qtn_sie_pgn_searching_bubbles; |
|
227 }; |
|
228 } |
|
229 }; |
|
230 } |
|
231 |
|
232 //============================================================================= |
|
233 // |
|
234 // r_bubble_selection_dialog |
|
235 // |
|
236 // |
|
237 //============================================================================= |
|
238 // |
|
239 RESOURCE DIALOG r_bubble_selection_dialog |
|
240 { |
|
241 flags = EEikDialogFlagCbaButtons | EEikDialogFlagWait| EEikDialogFlagFillAppClientRect; |
|
242 buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
243 items = |
|
244 { |
|
245 DLG_LINE |
|
246 { |
|
247 type = EBubbleCustomControlType ; |
|
248 id = EBubbleSelectionGrid; |
|
249 control = GRID |
|
250 { |
|
251 flags = EAknGridHorizontalOrientation|EAknGridFollowsItemsAndLoops; |
|
252 width = 0; |
|
253 height = 0; |
|
254 style = 0; |
|
255 }; |
|
256 } |
|
257 }; |
|
258 } |
|
259 |
|
260 |
|
261 // PATHS CANNOT EXCEED 256 CHARACTERS TOGETHER |
|
262 RESOURCE ARRAY r_bubble_dirs |
|
263 { |
|
264 items= |
|
265 { |
|
266 LBUF { txt = "c:\\private\101ffa91\\bubbles\\"; }, |
|
267 LBUF { txt = ""text_memory_card_root_path"private\101ffa91\\bubbles\\"; }, |
|
268 LBUF { txt = "z:\\private\101ffa91\\bubbles\\"; }, |
|
269 LBUF { txt = "c:\\data\\images\\bubbles\\"; }, |
|
270 LBUF { txt = ""text_memory_card_root_path"images\\bubbles\\"; } |
|
271 }; |
|
272 } |
|
273 |
|
274 // Context specific MSK menu |
|
275 RESOURCE MENU_BAR r_bubble_context_menubar |
|
276 { |
|
277 titles = |
|
278 { |
|
279 MENU_TITLE |
|
280 { |
|
281 menu_pane = r_bubble_context_menupane; |
|
282 txt = " "; |
|
283 } |
|
284 }; |
|
285 } |
|
286 |
|
287 RESOURCE MENU_PANE r_bubble_context_menupane |
|
288 { |
|
289 items = |
|
290 { |
|
291 MENU_ITEM |
|
292 { |
|
293 command = EBubblePgnMenuCmdMove; |
|
294 txt = qtn_sie_options_move_bubble; |
|
295 }, |
|
296 MENU_ITEM |
|
297 { |
|
298 command = EBubblePgnMenuCmdResize; |
|
299 txt = qtn_sie_options_resize_bubble; |
|
300 }, |
|
301 MENU_ITEM |
|
302 { |
|
303 command = EBubblePgnMenuCmdRotate; |
|
304 txt = qtn_sie_options_rotate_bubble; |
|
305 } |
|
306 }; |
|
307 } |
|
308 |
|
309 RESOURCE TBUF r_tooltip_bubble_resize { buf = qtn_sie_tooltip_resize; } |
|
310 RESOURCE TBUF r_tooltip_bubble_move { buf = qtn_sie_tooltip_move; } |
|
311 RESOURCE TBUF r_tooltip_bubble_rotate { buf = qtn_sie_tooltip_rotate; } |
|
312 |
|
313 |
|
314 |
|
315 // End of File |