23
|
1 |
/*
|
|
2 |
* Copyright (c) 2005 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 ScreenSaverAnimPlugin
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
// RESOURCE IDENTIFIER
|
|
23 |
|
|
24 |
NAME ANSS
|
|
25 |
|
|
26 |
#include <eikon.rh>
|
|
27 |
#include <avkon.rh>
|
|
28 |
#include <avkon.mbg>
|
|
29 |
#include <avkon.hrh>
|
|
30 |
#include <avkon.rsg>
|
|
31 |
#include <aknsconstants.hrh>
|
|
32 |
#include <pathconfiguration.hrh>
|
|
33 |
#include <avkon.loc>
|
|
34 |
#include "ScreenSaverAnimCustControl.rh"
|
|
35 |
#include <screensaveranimplugin.loc>
|
|
36 |
#include "ScreenSaverAnimPlugin.hrh"
|
|
37 |
|
|
38 |
// ---------------------------------------------------------
|
|
39 |
//
|
|
40 |
// Define the resource file signature
|
|
41 |
// This resource should be empty.
|
|
42 |
//
|
|
43 |
// ---------------------------------------------------------
|
|
44 |
//
|
|
45 |
RESOURCE RSS_SIGNATURE
|
|
46 |
{
|
|
47 |
}
|
|
48 |
|
|
49 |
RESOURCE TBUF
|
|
50 |
{
|
|
51 |
buf = "AnimScreenSaver";
|
|
52 |
}
|
|
53 |
|
|
54 |
STRUCT MIMETYPE_SPECIFIC_PLUGIN_ARRAY
|
|
55 |
{
|
|
56 |
STRUCT pairs[]; // array of mimetype and implementation uid pair
|
|
57 |
}
|
|
58 |
// -----------------------------------------------------------------------------
|
|
59 |
// SCREENSAVER_MIMETYPE_PLUGIN_PAIR
|
|
60 |
// One mapping between file name extension and MIME type.
|
|
61 |
// -----------------------------------------------------------------------------
|
|
62 |
//
|
|
63 |
STRUCT SCREENSAVER_MIMETYPE_PLUGIN_PAIR
|
|
64 |
{
|
|
65 |
LTEXT mimetype;
|
|
66 |
LONG implementation_uid;
|
|
67 |
}
|
|
68 |
|
|
69 |
RESOURCE MIMETYPE_SPECIFIC_PLUGIN_ARRAY r_mimetype_specific_plugin_array
|
|
70 |
{
|
|
71 |
pairs =
|
|
72 |
{
|
|
73 |
SCREENSAVER_MIMETYPE_PLUGIN_PAIR
|
|
74 |
{
|
|
75 |
mimetype = "image/svg+xml";
|
|
76 |
implementation_uid = 0x102071E6;
|
|
77 |
},
|
|
78 |
SCREENSAVER_MIMETYPE_PLUGIN_PAIR
|
|
79 |
{
|
|
80 |
mimetype = "image/gif";
|
|
81 |
implementation_uid = 0x102750B4;
|
|
82 |
},
|
|
83 |
SCREENSAVER_MIMETYPE_PLUGIN_PAIR
|
|
84 |
{
|
|
85 |
mimetype = "application/m3g";
|
|
86 |
implementation_uid = 0x102750B3;
|
|
87 |
}
|
|
88 |
#ifdef RD_FLASHLITE_SCREENSAVER
|
|
89 |
,
|
|
90 |
SCREENSAVER_MIMETYPE_PLUGIN_PAIR
|
|
91 |
{
|
|
92 |
mimetype = "application/x-shockwave-flash";
|
|
93 |
implementation_uid = 0x101f4e5d;
|
|
94 |
}
|
|
95 |
#endif
|
|
96 |
|
|
97 |
};
|
|
98 |
}
|
|
99 |
|
|
100 |
//----------------------------------------------------
|
|
101 |
//
|
|
102 |
// r_anim_timeout_slider
|
|
103 |
// Duration slider.
|
|
104 |
//
|
|
105 |
//----------------------------------------------------
|
|
106 |
//
|
|
107 |
RESOURCE SLIDER r_anim_timeout_slider
|
|
108 |
{
|
|
109 |
layout = EAknSettingsItemSliderLayout;
|
|
110 |
minvalue = 5;
|
|
111 |
maxvalue = 60;
|
|
112 |
step = 1;
|
|
113 |
valuetype = EAknSliderValueBareFigure;
|
|
114 |
singular_valuelabel = qtn_sanim_duration_slider_ykcur;
|
|
115 |
minlabel = qtn_sanim_duration_slider_min;
|
|
116 |
maxlabel = qtn_sanim_duration_slider_max;
|
|
117 |
valuelabel = qtn_sanim_duration_slider_cur;
|
|
118 |
}
|
|
119 |
|
|
120 |
//----------------------------------------------------
|
|
121 |
//
|
|
122 |
// r_light_timeout_slider
|
|
123 |
// Backlight slider.
|
|
124 |
//
|
|
125 |
//----------------------------------------------------
|
|
126 |
//
|
|
127 |
RESOURCE SLIDER r_light_timeout_slider
|
|
128 |
{
|
|
129 |
layout = EAknSettingsItemSliderLayout;
|
|
130 |
minvalue = 0;
|
|
131 |
maxvalue = 30;
|
|
132 |
step = 1;
|
|
133 |
valuetype = EAknSliderValueBareFigure;
|
|
134 |
singular_valuelabel = qtn_sanim_duration_slider_ykcur;
|
|
135 |
minlabel = qtn_sanim_slider_off;
|
|
136 |
maxlabel = qtn_sanim_slider_max_secs;
|
|
137 |
valuelabel = qtn_sanim_slider_context_value_secs;
|
|
138 |
}
|
|
139 |
|
|
140 |
// -----------------------------------------------------------------------------
|
|
141 |
//
|
|
142 |
// r_anim_timeout_setting_page
|
|
143 |
// Screen saver setting page.
|
|
144 |
//
|
|
145 |
// -----------------------------------------------------------------------------
|
|
146 |
//
|
|
147 |
RESOURCE AVKON_SETTING_PAGE r_anim_timeout_setting_page
|
|
148 |
{
|
|
149 |
number = EAknSettingPageNoOrdinalDisplayed;
|
|
150 |
label = qtn_sanim_list_anim_timeout;
|
|
151 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
152 |
type = EAknCtSlider;//0xffff;
|
|
153 |
editor_resource_id = r_anim_timeout_slider;
|
|
154 |
}
|
|
155 |
|
|
156 |
// -----------------------------------------------------------------------------
|
|
157 |
//
|
|
158 |
// r_light_timeout_setting_page
|
|
159 |
// Screen saver setting page.
|
|
160 |
//
|
|
161 |
// -----------------------------------------------------------------------------
|
|
162 |
//
|
|
163 |
RESOURCE AVKON_SETTING_PAGE r_light_timeout_setting_page
|
|
164 |
{
|
|
165 |
number = EAknSettingPageNoOrdinalDisplayed;
|
|
166 |
label = qtn_sanim_list_light_timeout;
|
|
167 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
168 |
type = EAknCtSlider;//0xffff;
|
|
169 |
editor_resource_id = r_light_timeout_slider;
|
|
170 |
}
|
|
171 |
|
|
172 |
|
|
173 |
// -----------------------------------------------------------------------------
|
|
174 |
//
|
|
175 |
// r_sanim_setting_lbx
|
|
176 |
//
|
|
177 |
// -----------------------------------------------------------------------------
|
|
178 |
//
|
|
179 |
RESOURCE LISTBOX r_sanim_setting_lbx
|
|
180 |
{
|
|
181 |
array_id = r_sanim_setting_lbx_items;
|
|
182 |
flags = EEikListBoxMultipleSelection;
|
|
183 |
}
|
|
184 |
|
|
185 |
// -----------------------------------------------------------------------------
|
|
186 |
//
|
|
187 |
// r_sanim_setting_lbx_items
|
|
188 |
//
|
|
189 |
// -----------------------------------------------------------------------------
|
|
190 |
//
|
|
191 |
RESOURCE ARRAY r_sanim_setting_lbx_items
|
|
192 |
{
|
|
193 |
items =
|
|
194 |
{
|
|
195 |
LBUF
|
|
196 |
{
|
|
197 |
txt = "\t"qtn_sanim_list_anim_file"\t\t";
|
|
198 |
},
|
|
199 |
LBUF
|
|
200 |
{
|
|
201 |
txt = "\t"qtn_sanim_list_anim_timeout"\t\t";
|
|
202 |
},
|
|
203 |
LBUF
|
|
204 |
{
|
|
205 |
txt = "\t"qtn_sanim_list_light_timeout"\t\t";
|
|
206 |
}
|
|
207 |
|
|
208 |
};
|
|
209 |
}
|
|
210 |
|
|
211 |
// ---------------------------------------------------------
|
|
212 |
//
|
|
213 |
// r_sanim_setting_dialog
|
|
214 |
// SVG-T Dialog
|
|
215 |
//
|
|
216 |
// ---------------------------------------------------------
|
|
217 |
//
|
|
218 |
|
|
219 |
RESOURCE DIALOG r_sanim_setting_dialog
|
|
220 |
{
|
|
221 |
flags = EAknDialogSelectionList;
|
|
222 |
title = "SANIM Dialog";
|
|
223 |
buttons = R_AVKON_SOFTKEYS_SELECTION_LIST;
|
|
224 |
items =
|
|
225 |
{
|
|
226 |
DLG_LINE
|
|
227 |
{
|
|
228 |
type = ESanimCustControl;
|
|
229 |
id = ESanimDialogCustControlIdData;
|
|
230 |
control = SANIM_CUST_CONTROL
|
|
231 |
{
|
|
232 |
};
|
|
233 |
}
|
|
234 |
};
|
|
235 |
}
|
|
236 |
// -----------------------------------------------------------------------------
|
|
237 |
//
|
|
238 |
// r_sanim_dialog_menubar
|
|
239 |
// Resource for Dialog "Options" Menu Bar
|
|
240 |
//
|
|
241 |
// -----------------------------------------------------------------------------
|
|
242 |
//
|
|
243 |
RESOURCE MENU_BAR r_sanim_dialog_menubar
|
|
244 |
{
|
|
245 |
titles =
|
|
246 |
{
|
|
247 |
MENU_TITLE
|
|
248 |
{
|
|
249 |
menu_pane = r_sanim_dialog_menu;
|
|
250 |
}
|
|
251 |
};
|
|
252 |
}
|
|
253 |
|
|
254 |
// -----------------------------------------------------------------------------
|
|
255 |
//
|
|
256 |
// r_sanim_dialog_menu
|
|
257 |
// Resource for Screen saver setting Dialog "Options" Menu Pane
|
|
258 |
//
|
|
259 |
// -----------------------------------------------------------------------------
|
|
260 |
//
|
|
261 |
RESOURCE MENU_PANE r_sanim_dialog_menu
|
|
262 |
{
|
|
263 |
items =
|
|
264 |
{
|
|
265 |
MENU_ITEM
|
|
266 |
{
|
|
267 |
command = ESanimDlgChangeCommand;
|
|
268 |
txt = qtn_sanim_option_change;
|
|
269 |
flags = EEikMenuItemAction; // add this line to list item action commands
|
|
270 |
},
|
|
271 |
#ifdef __SERIES60_HELP
|
|
272 |
MENU_ITEM
|
|
273 |
{
|
|
274 |
command = ESanimDlgHelpCommand;
|
|
275 |
txt = qtn_options_help;
|
|
276 |
},
|
|
277 |
#endif // __SERIES60_HELP
|
|
278 |
MENU_ITEM
|
|
279 |
{
|
|
280 |
command = EAknCmdExit;
|
|
281 |
txt = qtn_options_exit;
|
|
282 |
}
|
|
283 |
};
|
|
284 |
}
|
|
285 |
|
|
286 |
// ---------------------------------------------------
|
|
287 |
//
|
|
288 |
// r_sanim_title_settings
|
|
289 |
//
|
|
290 |
// ---------------------------------------------------
|
|
291 |
//
|
|
292 |
RESOURCE TBUF r_sanim_title_settings
|
|
293 |
{
|
|
294 |
buf = qtn_sanim_title_settings;
|
|
295 |
}
|
|
296 |
|
|
297 |
// ---------------------------------------------------
|
|
298 |
//
|
|
299 |
// r_sanim_title_settings
|
|
300 |
//
|
|
301 |
// ---------------------------------------------------
|
|
302 |
//
|
|
303 |
RESOURCE TBUF r_sanim_not_supported
|
|
304 |
{
|
|
305 |
buf = qtn_err_not_supp;
|
|
306 |
}
|
|
307 |
|
|
308 |
// ---------------------------------------------------
|
|
309 |
//
|
|
310 |
// r_sanim_title_settings
|
|
311 |
//
|
|
312 |
// ---------------------------------------------------
|
|
313 |
//
|
|
314 |
RESOURCE TBUF r_sanim_error_wrong_format
|
|
315 |
{
|
|
316 |
buf = qtn_sanim_error_wrong_format;
|
|
317 |
}
|
|
318 |
|
|
319 |
|
|
320 |
// ---------------------------------------------------
|
|
321 |
//
|
|
322 |
// r_sanim_err_failure
|
|
323 |
//
|
|
324 |
// ---------------------------------------------------
|
|
325 |
//
|
|
326 |
RESOURCE TBUF r_sanim_err_failure
|
|
327 |
{
|
|
328 |
buf = qtn_err_failure;
|
|
329 |
}
|
|
330 |
|
|
331 |
// ---------------------------------------------------
|
|
332 |
//
|
|
333 |
// r_sanim_slider_off
|
|
334 |
//
|
|
335 |
// ---------------------------------------------------
|
|
336 |
//
|
|
337 |
RESOURCE TBUF r_sanim_slider_off
|
|
338 |
{
|
|
339 |
buf = qtn_sanim_slider_off;
|
|
340 |
}
|
|
341 |
|
|
342 |
// ---------------------------------------------------
|
|
343 |
//
|
|
344 |
// r_drm_prev_rights_set
|
|
345 |
//
|
|
346 |
// ---------------------------------------------------
|
|
347 |
//
|
|
348 |
RESOURCE TBUF r_drm_prev_rights_set
|
|
349 |
{
|
|
350 |
buf = qtn_drm_prev_rights_set;
|
|
351 |
}
|
|
352 |
|
|
353 |
|
|
354 |
// ---------------------------------------------------
|
|
355 |
//
|
|
356 |
// r_sanim_screensaver_name
|
|
357 |
//
|
|
358 |
// ---------------------------------------------------
|
|
359 |
//
|
|
360 |
RESOURCE TBUF r_sanim_screensaver_name
|
|
361 |
{
|
|
362 |
buf = qtn_sanim_screensaver_name;
|
|
363 |
}
|
|
364 |
|
|
365 |
|
|
366 |
// -----------------------------------------------------------------------------
|
|
367 |
//
|
|
368 |
// r_sanim_msk_change
|
|
369 |
// Middle softkey label: change. From Avkon resources (avkon.loc)
|
|
370 |
// -----------------------------------------------------------------------------
|
|
371 |
//
|
|
372 |
RESOURCE TBUF r_sanim_msk_change
|
|
373 |
{
|
|
374 |
buf = qtn_msk_change;
|
|
375 |
}
|
|
376 |
|
|
377 |
|
|
378 |
// End of File
|