resource_langln_lk_skins.c
28.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
/*******************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2002
*
*******************************************************************************/
/*******************************************************************************
* Filename:
* ---------
* resource_langln_lk_skins.c
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* Listening King skin layout
*
* Author:
* -------
* -------
*
***********************************************************************************************/
#include "MMI_features.h"
#ifdef __MMI_LANGLN_LK__
#include "gdi_lcd_config.h"
#include "mmi_frm_gprot.h"
#include "GlobalConstants.h"
#include "FileMgr.h"
#include "LanglnResDef.h"
#include "LanglnLKDef.h"
#if ( (LCD_WIDTH == 176) && (LCD_HEIGHT == 220) )
const langln_lk_skin_struct g_langln_lk_skins[] =
{
{
IMG_ID_LANGLN_LK_BG,//U16 main_bg_img_id;
2, 169, //S16 play_btn_x, play_btn_y;
IMG_ID_LANGLN_LK_PLAY_BTN_UP, IMG_ID_LANGLN_LK_PLAY_BTN_DOWN,//U16 play_btn_up_img_id, play_btn_down_img_id;
IMG_ID_LANGLN_LK_PAUSE_BTN_UP, IMG_ID_LANGLN_LK_PAUSE_BTN_DOWN,//U16 pause_btn_up_img_id, pause_btn_down_img_id;
IMG_ID_LANGLN_LK_RESND_BTN_UP, IMG_ID_LANGLN_LK_RESND_BTN_DOWN,//U16 resnd_btn_up_img_id, resnd_btn_down_img_id;
IMG_ID_LANGLN_LK_RESNDING_BTN_UP, IMG_ID_LANGLN_LK_RESNDING_BTN_DOWN, //U16 resnding_btn_up_img_id, resnding_btn_down_img_id;
30, 179,//S16 stop_btn_x, stop_btn_y;
IMG_ID_LANGLN_LK_STOP_BTN_UP, IMG_ID_LANGLN_LK_STOP_BTN_DOWN,//U16 stop_btn_up_img_id, stop_btn_down_img_id;
IMG_ID_LANGLN_LK_PLAYSND_BTN_UP, IMG_ID_LANGLN_LK_PLAYSND_BTN_DOWN,//U16 playsnd_btn_up_img_id, playsnd_btn_down_img_id;
71, 181,//S16 next_btn_x, next_btn_y;
IMG_ID_LANGLN_LK_NEXT_BTN_UP, IMG_ID_LANGLN_LK_NEXT_BTN_DOWN,//U16 next_btn_up_img_id, next_btn_down_img_id;
51, 181,//S16 pre_btn_x, pre_btn_y;
IMG_ID_LANGLN_LK_PRE_BTN_UP, IMG_ID_LANGLN_LK_PRE_BTN_DOWN,//U16 pre_btn_up_img_id, pre_btn_down_img_id;
101, 165, //S16 abs_btn_x, abs_btn_y;
IMG_ID_LANGLN_LK_ABS_IDLE_BTN_UP, IMG_ID_LANGLN_LK_ABS_IDLE_BTN_DOWN,//U16 abs_idle_btn_up_img_id, abs_idle_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_UP, IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_DOWN,//U16 abs_partial_btn_up_img_id, abs_partial_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_SET_BTN_UP, IMG_ID_LANGLN_LK_ABS_SET_BTN_DOWN,//U16 abs_set_btn_up_img_id, abs_set_btn_down_img_id;
47, 165, 48, //S16 speed_inc_btn_x, speed_inc_btn_y, speed_bg_img_x;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_INC_BTN_DOWN,//U16 speed_inc_btn_up_img_id, speed_inc_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_DIS,//U16 speed_inc_btn_dis_img_id;
IMG_ID_LANGLN_LK_SP_BTNS_DIS_BG, //U16 speed_dis_bg_img_id;
91, 165, //S16 speed_dec_btn_x, speed_dec_btn_y;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DOWN,//U16 speed_dec_btn_up_img_id, speed_dec_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DIS,//U16 speed_dec_btn_dis_img_id;
57, 165, //S16 speed_value_x, speed_value_y;
IMG_ID_LANGLN_LK_SPEED_SLOW2, //U16 speed_slow2_img_id;
IMG_ID_LANGLN_LK_SPEED_SLOW1, //U16 speed_slow1_img_id;
IMG_ID_LANGLN_LK_SPEED_NORMAL, //U16 speed_normal_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST1, //U16 speed_fast1_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST2, //U16 speed_fast2_img_id;
119, 165, //S16 circulate_btn_x, circulate_btn_y;
IMG_ID_LANGLN_LK_CIRCULATE_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_BTN_DOWN,//U16 circulate_btn_up_img_id, circulate_btn_down_img_id;
IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_DOWN,//U16 circulate_on_btn_up_img_id, circulate_on_btn_down_img_id;
137, 165, //S16 key_word_btn_x, key_word_btn_y;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_UP, IMG_ID_LANGLN_LK_KEY_WORD_BTN_DOWN,//U16 key_word_btn_up_img_id, key_word_btn_down_img_id;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_DIS,//U16 key_word_btn_dis_img_id;
155, 165,//S16 mode_btn_x, mode_btn_y;
IMG_ID_LANGLN_LK_MODE_BTN_LISTEN, IMG_ID_LANGLN_LK_MODE_BTN_SPEAK,//U16 mode_listen_btn_img_id, mode_speak_btn_img_id;
5, 148,//S16 total_time_area_x1, total_time_area_y1;
IMG_ID_LANGLN_LK_DURATION_TIME_BG,//U16 duration_area_img_id;
78, 153,//S16 progress_bar_x, progress_bar_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_BG,//U16 progress_bar_img_id;
78, 153, //S16 progress_bar_rect_x, progress_bar_rect_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_RECT,//U16 progress_bar_rect_img_id;
0, 255, 255,//U8 progress_bar_color_r, progress_bar_color_g, progress_bar_color_b;
255, 0, 0,//U8 progress_bar_abs_color_r, progress_bar_abs_color_g, progress_bar_abs_color_b;
78, 181, //S16 record_tip_area_x1, record_tip_area_y1;
IMG_ID_LANGLN_LK_RECORD_INFO_BG, //U16 record_tips_bg_img_id;
101, 165,//S16 buttons_dis_area_x, buttons_dis_area_y;
IMG_ID_LANGLN_LK_BTNS_DIS_AREA_BG,//U16 buttons_dis_area_img_id;
51, 181,//S16 next_pre_dis_area_x, next_pre_dis_area_y;
IMG_ID_LANGLN_LK_PRE_NEXT_DIS_BG,//S16 next_pre_dis_area_img_id;
/*up and down arrow key is mapping text scroll*/
/*please not use KEY_ARROW_UP and KEY_ARROW_DOWN*/
/*LISTEN mode buttons mapping keys*/
KEY_LEFT_ARROW, KEY_RIGHT_ARROW,//U8 previous_btn_mapping_key, next_btn_mapping_key;
KEY_1, KEY_2,//U8 play_btn_mapping_key, stop_btn_mapping_key;
KEY_3, KEY_4,//U8 abs_btn_mapping_key, circulate_btn_mapping_key;
KEY_7, KEY_8,//U8 speed_inc_btn_mapping_key, speed_dec_btn_mappint_key;
KEY_5 ,//U8 key_word_btn_mapping_key;
/*mode switch button mapping key, both in LISTEN mode and SPEAK mode*/
KEY_6, //U8 mode_switch_btn_mapping_key;
/*SPEAK mode buttons mapping keys*/
KEY_1, //U8 sound_record_btn_mapping_key;
KEY_2 //U8 replay_record_btn_mapping_key;
}
};
#elif ( (LCD_WIDTH == 240) && (LCD_HEIGHT == 320) )
const langln_lk_skin_struct g_langln_lk_skins[] =
{
{
IMG_ID_LANGLN_LK_BG,//U16 main_bg_img_id;
6, 252, //S16 play_btn_x, play_btn_y;
IMG_ID_LANGLN_LK_PLAY_BTN_UP, IMG_ID_LANGLN_LK_PLAY_BTN_DOWN,//U16 play_btn_up_img_id, play_btn_down_img_id;
IMG_ID_LANGLN_LK_PAUSE_BTN_UP, IMG_ID_LANGLN_LK_PAUSE_BTN_DOWN,//U16 pause_btn_up_img_id, pause_btn_down_img_id;
IMG_ID_LANGLN_LK_RESND_BTN_UP, IMG_ID_LANGLN_LK_RESND_BTN_DOWN,//U16 resnd_btn_up_img_id, resnd_btn_down_img_id;
IMG_ID_LANGLN_LK_RESNDING_BTN_UP, IMG_ID_LANGLN_LK_RESNDING_BTN_DOWN, //U16 resnding_btn_up_img_id, resnding_btn_down_img_id;
45, 266,//S16 stop_btn_x, stop_btn_y;
IMG_ID_LANGLN_LK_STOP_BTN_UP, IMG_ID_LANGLN_LK_STOP_BTN_DOWN,//U16 stop_btn_up_img_id, stop_btn_down_img_id;
IMG_ID_LANGLN_LK_PLAYSND_BTN_UP, IMG_ID_LANGLN_LK_PLAYSND_BTN_DOWN,//U16 playsnd_btn_up_img_id, playsnd_btn_down_img_id;
100, 268,//S16 next_btn_x, next_btn_y;
IMG_ID_LANGLN_LK_NEXT_BTN_UP, IMG_ID_LANGLN_LK_NEXT_BTN_DOWN,//U16 next_btn_up_img_id, next_btn_down_img_id;
73, 268,//S16 pre_btn_x, pre_btn_y;
IMG_ID_LANGLN_LK_PRE_BTN_UP, IMG_ID_LANGLN_LK_PRE_BTN_DOWN,//U16 pre_btn_up_img_id, pre_btn_down_img_id;
131, 244, //S16 abs_btn_x, abs_btn_y;
IMG_ID_LANGLN_LK_ABS_IDLE_BTN_UP, IMG_ID_LANGLN_LK_ABS_IDLE_BTN_DOWN,//U16 abs_idle_btn_up_img_id, abs_idle_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_UP, IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_DOWN,//U16 abs_partial_btn_up_img_id, abs_partial_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_SET_BTN_UP, IMG_ID_LANGLN_LK_ABS_SET_BTN_DOWN,//U16 abs_set_btn_up_img_id, abs_set_btn_down_img_id;
69, 244, 70, //S16 speed_inc_btn_x, speed_inc_btn_y, speed_bg_img_x;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_INC_BTN_DOWN,//U16 speed_inc_btn_up_img_id, speed_inc_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_DIS,//U16 speed_inc_btn_dis_img_id;
IMG_ID_LANGLN_LK_SP_BTNS_DIS_BG, //U16 speed_dis_bg_img_id;
118, 244, //S16 speed_dec_btn_x, speed_dec_btn_y;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DOWN,//U16 speed_dec_btn_up_img_id, speed_dec_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DIS,//U16 speed_dec_btn_dis_img_id;
81, 244, //S16 speed_value_x, speed_value_y;
IMG_ID_LANGLN_LK_SPEED_SLOW2, //U16 speed_slow2_img_id;
IMG_ID_LANGLN_LK_SPEED_SLOW1, //U16 speed_slow1_img_id;
IMG_ID_LANGLN_LK_SPEED_NORMAL, //U16 speed_normal_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST1, //U16 speed_fast1_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST2, //U16 speed_fast2_img_id;
157, 244, //S16 circulate_btn_x, circulate_btn_y;
IMG_ID_LANGLN_LK_CIRCULATE_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_BTN_DOWN,//U16 circulate_btn_up_img_id, circulate_btn_down_img_id;
IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_DOWN,//U16 circulate_on_btn_up_img_id, circulate_on_btn_down_img_id;
183, 244, //S16 key_word_btn_x, key_word_btn_y;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_UP, IMG_ID_LANGLN_LK_KEY_WORD_BTN_DOWN,//U16 key_word_btn_up_img_id, key_word_btn_down_img_id;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_DIS,//U16 key_word_btn_dis_img_id;
209, 244,//S16 mode_btn_x, mode_btn_y;
IMG_ID_LANGLN_LK_MODE_BTN_LISTEN, IMG_ID_LANGLN_LK_MODE_BTN_SPEAK,//U16 mode_listen_btn_img_id, mode_speak_btn_img_id;
6, 219,//S16 total_time_area_x1, total_time_area_y1;
IMG_ID_LANGLN_LK_DURATION_TIME_BG,//U16 duration_area_img_id;
95, 225,//S16 progress_bar_x, progress_bar_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_BG,//U16 progress_bar_img_id;
96, 226, //S16 progress_bar_rect_x, progress_bar_rect_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_RECT,//U16 progress_bar_rect_img_id;
0, 255, 255,//U8 progress_bar_color_r, progress_bar_color_g, progress_bar_color_b;
255, 0, 0,//U8 progress_bar_abs_color_r, progress_bar_abs_color_g, progress_bar_abs_color_b;
91, 267, //S16 record_tip_area_x1, record_tip_area_y1;
IMG_ID_LANGLN_LK_RECORD_INFO_BG, //U16 record_tips_bg_img_id;
131, 244,//S16 buttons_dis_area_x, buttons_dis_area_y;
IMG_ID_LANGLN_LK_BTNS_DIS_AREA_BG,//U16 buttons_dis_area_img_id;
73, 267,//S16 next_pre_dis_area_x, next_pre_dis_area_y;
IMG_ID_LANGLN_LK_PRE_NEXT_DIS_BG,//S16 next_pre_dis_area_img_id;
/*up and down arrow key is mapping text scroll*/
/*please not use KEY_ARROW_UP and KEY_ARROW_DOWN*/
/*LISTEN mode buttons mapping keys*/
KEY_LEFT_ARROW, KEY_RIGHT_ARROW,//U8 previous_btn_mapping_key, next_btn_mapping_key;
KEY_1, KEY_2,//U8 play_btn_mapping_key, stop_btn_mapping_key;
KEY_3, KEY_4,//U8 abs_btn_mapping_key, circulate_btn_mapping_key;
KEY_7, KEY_8,//U8 speed_inc_btn_mapping_key, speed_dec_btn_mappint_key;
KEY_5 ,//U8 key_word_btn_mapping_key;
/*mode switch button mapping key, both in LISTEN mode and SPEAK mode*/
KEY_6, //U8 mode_switch_btn_mapping_key;
/*SPEAK mode buttons mapping keys*/
KEY_1, //U8 sound_record_btn_mapping_key;
KEY_2 //U8 replay_record_btn_mapping_key;
}
};
#elif ( (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) )
const langln_lk_skin_struct g_langln_lk_skins[] =
{
{
IMG_ID_LANGLN_LK_BG,//U16 main_bg_img_id;
9, 173, //S16 play_btn_x, play_btn_y;
IMG_ID_LANGLN_LK_PLAY_BTN_UP, IMG_ID_LANGLN_LK_PLAY_BTN_DOWN,//U16 play_btn_up_img_id, play_btn_down_img_id;
IMG_ID_LANGLN_LK_PAUSE_BTN_UP, IMG_ID_LANGLN_LK_PAUSE_BTN_DOWN,//U16 pause_btn_up_img_id, pause_btn_down_img_id;
IMG_ID_LANGLN_LK_RESND_BTN_UP, IMG_ID_LANGLN_LK_RESND_BTN_DOWN,//U16 resnd_btn_up_img_id, resnd_btn_down_img_id;
IMG_ID_LANGLN_LK_RESNDING_BTN_UP, IMG_ID_LANGLN_LK_RESNDING_BTN_DOWN, //U16 resnding_btn_up_img_id, resnding_btn_down_img_id;
44, 182,//S16 stop_btn_x, stop_btn_y;
IMG_ID_LANGLN_LK_STOP_BTN_UP, IMG_ID_LANGLN_LK_STOP_BTN_DOWN,//U16 stop_btn_up_img_id, stop_btn_down_img_id;
IMG_ID_LANGLN_LK_PLAYSND_BTN_UP, IMG_ID_LANGLN_LK_PLAYSND_BTN_DOWN,//U16 playsnd_btn_up_img_id, playsnd_btn_down_img_id;
100, 185,//S16 next_btn_x, next_btn_y;
IMG_ID_LANGLN_LK_NEXT_BTN_UP, IMG_ID_LANGLN_LK_NEXT_BTN_DOWN,//U16 next_btn_up_img_id, next_btn_down_img_id;
74, 185,//S16 pre_btn_x, pre_btn_y;
IMG_ID_LANGLN_LK_PRE_BTN_UP, IMG_ID_LANGLN_LK_PRE_BTN_DOWN,//U16 pre_btn_up_img_id, pre_btn_down_img_id;
209, 169, //S16 abs_btn_x, abs_btn_y;
IMG_ID_LANGLN_LK_ABS_IDLE_BTN_UP, IMG_ID_LANGLN_LK_ABS_IDLE_BTN_DOWN,//U16 abs_idle_btn_up_img_id, abs_idle_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_UP, IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_DOWN,//U16 abs_partial_btn_up_img_id, abs_partial_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_SET_BTN_UP, IMG_ID_LANGLN_LK_ABS_SET_BTN_DOWN,//U16 abs_set_btn_up_img_id, abs_set_btn_down_img_id;
147, 169, 148, //S16 speed_inc_btn_x, speed_inc_btn_y, speed_bg_img_x;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_INC_BTN_DOWN,//U16 speed_inc_btn_up_img_id, speed_inc_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_DIS,//U16 speed_inc_btn_dis_img_id;
IMG_ID_LANGLN_LK_SP_BTNS_DIS_BG, //U16 speed_dis_bg_img_id;
196, 169, //S16 speed_dec_btn_x, speed_dec_btn_y;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DOWN,//U16 speed_dec_btn_up_img_id, speed_dec_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DIS,//U16 speed_dec_btn_dis_img_id;
159, 169, //S16 speed_value_x, speed_value_y;
IMG_ID_LANGLN_LK_SPEED_SLOW2, //U16 speed_slow2_img_id;
IMG_ID_LANGLN_LK_SPEED_SLOW1, //U16 speed_slow1_img_id;
IMG_ID_LANGLN_LK_SPEED_NORMAL, //U16 speed_normal_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST1, //U16 speed_fast1_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST2, //U16 speed_fast2_img_id;
235, 169, //S16 circulate_btn_x, circulate_btn_y;
IMG_ID_LANGLN_LK_CIRCULATE_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_BTN_DOWN,//U16 circulate_btn_up_img_id, circulate_btn_down_img_id;
IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_DOWN,//U16 circulate_on_btn_up_img_id, circulate_on_btn_down_img_id;
261, 169, //S16 key_word_btn_x, key_word_btn_y;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_UP, IMG_ID_LANGLN_LK_KEY_WORD_BTN_DOWN,//U16 key_word_btn_up_img_id, key_word_btn_down_img_id;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_DIS,//U16 key_word_btn_dis_img_id;
287, 169,//S16 mode_btn_x, mode_btn_y;
IMG_ID_LANGLN_LK_MODE_BTN_LISTEN, IMG_ID_LANGLN_LK_MODE_BTN_SPEAK,//U16 mode_listen_btn_img_id, mode_speak_btn_img_id;
13, 150,//S16 total_time_area_x1, total_time_area_y1;
IMG_ID_LANGLN_LK_DURATION_TIME_BG,//U16 duration_area_img_id;
111, 155,//S16 progress_bar_x, progress_bar_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_BG,//U16 progress_bar_img_id;
112, 156, //S16 progress_bar_rect_x, progress_bar_rect_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_RECT,//U16 progress_bar_rect_img_id;
0, 255, 255,//U8 progress_bar_color_r, progress_bar_color_g, progress_bar_color_b;
255, 0, 0,//U8 progress_bar_abs_color_r, progress_bar_abs_color_g, progress_bar_abs_color_b;
185, 192, //S16 record_tip_area_x1, record_tip_area_y1;
IMG_ID_LANGLN_LK_RECORD_INFO_BG, //U16 record_tips_bg_img_id;
209, 169,//S16 buttons_dis_area_x, buttons_dis_area_y;
IMG_ID_LANGLN_LK_BTNS_DIS_AREA_BG,//U16 buttons_dis_area_img_id;
73, 185,//S16 next_pre_dis_area_x, next_pre_dis_area_y;
IMG_ID_LANGLN_LK_PRE_NEXT_DIS_BG,//S16 next_pre_dis_area_img_id;
/*up and down arrow key is mapping text scroll*/
/*please not use KEY_ARROW_UP and KEY_ARROW_DOWN*/
/*LISTEN mode buttons mapping keys*/
KEY_LEFT_ARROW, KEY_RIGHT_ARROW,//U8 previous_btn_mapping_key, next_btn_mapping_key;
KEY_1, KEY_2,//U8 play_btn_mapping_key, stop_btn_mapping_key;
KEY_3, KEY_4,//U8 abs_btn_mapping_key, circulate_btn_mapping_key;
KEY_7, KEY_8,//U8 speed_inc_btn_mapping_key, speed_dec_btn_mappint_key;
KEY_5 ,//U8 key_word_btn_mapping_key;
/*mode switch button mapping key, both in LISTEN mode and SPEAK mode*/
KEY_6, //U8 mode_switch_btn_mapping_key;
/*SPEAK mode buttons mapping keys*/
KEY_1, //U8 sound_record_btn_mapping_key;
KEY_2 //U8 replay_record_btn_mapping_key;
}
};
#elif ( (LCD_WIDTH == 320) && (LCD_HEIGHT == 480) )
const langln_lk_skin_struct g_langln_lk_skins[] =
{
{
IMG_ID_LANGLN_LK_BG,//U16 main_bg_img_id;
0, 375, //S16 play_btn_x, play_btn_y;
IMG_ID_LANGLN_LK_PLAY_BTN_UP, IMG_ID_LANGLN_LK_PLAY_BTN_DOWN,//U16 play_btn_up_img_id, play_btn_down_img_id;
IMG_ID_LANGLN_LK_PAUSE_BTN_UP, IMG_ID_LANGLN_LK_PAUSE_BTN_DOWN,//U16 pause_btn_up_img_id, pause_btn_down_img_id;
IMG_ID_LANGLN_LK_RESND_BTN_UP, IMG_ID_LANGLN_LK_RESND_BTN_DOWN,//U16 resnd_btn_up_img_id, resnd_btn_down_img_id;
IMG_ID_LANGLN_LK_RESNDING_BTN_UP, IMG_ID_LANGLN_LK_RESNDING_BTN_DOWN, //U16 resnding_btn_up_img_id, resnding_btn_down_img_id;
60, 396,//S16 stop_btn_x, stop_btn_y;
IMG_ID_LANGLN_LK_STOP_BTN_UP, IMG_ID_LANGLN_LK_STOP_BTN_DOWN,//U16 stop_btn_up_img_id, stop_btn_down_img_id;
IMG_ID_LANGLN_LK_PLAYSND_BTN_UP, IMG_ID_LANGLN_LK_PLAYSND_BTN_DOWN,//U16 playsnd_btn_up_img_id, playsnd_btn_down_img_id;
132, 404,//S16 next_btn_x, next_btn_y;
IMG_ID_LANGLN_LK_NEXT_BTN_UP, IMG_ID_LANGLN_LK_NEXT_BTN_DOWN,//U16 next_btn_up_img_id, next_btn_down_img_id;
98, 404,//S16 pre_btn_x, pre_btn_y;
IMG_ID_LANGLN_LK_PRE_BTN_UP, IMG_ID_LANGLN_LK_PRE_BTN_DOWN,//U16 pre_btn_up_img_id, pre_btn_down_img_id;
174, 372, //S16 abs_btn_x, abs_btn_y;
IMG_ID_LANGLN_LK_ABS_IDLE_BTN_UP, IMG_ID_LANGLN_LK_ABS_IDLE_BTN_DOWN,//U16 abs_idle_btn_up_img_id, abs_idle_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_UP, IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_DOWN,//U16 abs_partial_btn_up_img_id, abs_partial_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_SET_BTN_UP, IMG_ID_LANGLN_LK_ABS_SET_BTN_DOWN,//U16 abs_set_btn_up_img_id, abs_set_btn_down_img_id;
98, 372, 98, //S16 speed_inc_btn_x, speed_inc_btn_y, speed_bg_img_x;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_INC_BTN_DOWN,//U16 speed_inc_btn_up_img_id, speed_inc_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_DIS,//U16 speed_inc_btn_dis_img_id;
IMG_ID_LANGLN_LK_SP_BTNS_DIS_BG, //U16 speed_dis_bg_img_id;
158, 372, //S16 speed_dec_btn_x, speed_dec_btn_y;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DOWN,//U16 speed_dec_btn_up_img_id, speed_dec_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DIS,//U16 speed_dec_btn_dis_img_id;
112, 372, //S16 speed_value_x, speed_value_y;
IMG_ID_LANGLN_LK_SPEED_SLOW2, //U16 speed_slow2_img_id;
IMG_ID_LANGLN_LK_SPEED_SLOW1, //U16 speed_slow1_img_id;
IMG_ID_LANGLN_LK_SPEED_NORMAL, //U16 speed_normal_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST1, //U16 speed_fast1_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST2, //U16 speed_fast2_img_id;
209, 372, //S16 circulate_btn_x, circulate_btn_y;
IMG_ID_LANGLN_LK_CIRCULATE_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_BTN_DOWN,//U16 circulate_btn_up_img_id, circulate_btn_down_img_id;
IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_DOWN,//U16 circulate_on_btn_up_img_id, circulate_on_btn_down_img_id;
244, 372, //S16 key_word_btn_x, key_word_btn_y;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_UP, IMG_ID_LANGLN_LK_KEY_WORD_BTN_DOWN,//U16 key_word_btn_up_img_id, key_word_btn_down_img_id;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_DIS,//U16 key_word_btn_dis_img_id;
279, 372,//S16 mode_btn_x, mode_btn_y;
IMG_ID_LANGLN_LK_MODE_BTN_LISTEN, IMG_ID_LANGLN_LK_MODE_BTN_SPEAK,//U16 mode_listen_btn_img_id, mode_speak_btn_img_id;
6, 349,//S16 total_time_area_x1, total_time_area_y1;
IMG_ID_LANGLN_LK_DURATION_TIME_BG,//U16 duration_area_img_id;
98, 351,//S16 progress_bar_x, progress_bar_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_BG,//U16 progress_bar_img_id;
99, 351, //S16 progress_bar_rect_x, progress_bar_rect_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_RECT,//U16 progress_bar_rect_img_id;
141, 103, 167,//U8 progress_bar_color_r, progress_bar_color_g, progress_bar_color_b;
255, 138, 0,//U8 progress_bar_abs_color_r, progress_bar_abs_color_g, progress_bar_abs_color_b;
170, 404, //S16 record_tip_area_x1, record_tip_area_y1;
IMG_ID_LANGLN_LK_RECORD_INFO_BG, //U16 record_tips_bg_img_id;
174, 372,//S16 buttons_dis_area_x, buttons_dis_area_y;
IMG_ID_LANGLN_LK_BTNS_DIS_AREA_BG,//U16 buttons_dis_area_img_id;
98, 404,//S16 next_pre_dis_area_x, next_pre_dis_area_y;
IMG_ID_LANGLN_LK_PRE_NEXT_DIS_BG,//S16 next_pre_dis_area_img_id;
/*up and down arrow key is mapping text scroll*/
/*please not use KEY_ARROW_UP and KEY_ARROW_DOWN*/
/*LISTEN mode buttons mapping keys*/
KEY_LEFT_ARROW, KEY_RIGHT_ARROW,//U8 previous_btn_mapping_key, next_btn_mapping_key;
KEY_1, KEY_2,//U8 play_btn_mapping_key, stop_btn_mapping_key;
KEY_3, KEY_4,//U8 abs_btn_mapping_key, circulate_btn_mapping_key;
KEY_7, KEY_8,//U8 speed_inc_btn_mapping_key, speed_dec_btn_mappint_key;
KEY_5 ,//U8 key_word_btn_mapping_key;
/*mode switch button mapping key, both in LISTEN mode and SPEAK mode*/
KEY_6, //U8 mode_switch_btn_mapping_key;
/*SPEAK mode buttons mapping keys*/
KEY_1, //U8 sound_record_btn_mapping_key;
KEY_2 //U8 replay_record_btn_mapping_key;
}
};
#elif ( (LCD_WIDTH == 240) && (LCD_HEIGHT == 400) )
const langln_lk_skin_struct g_langln_lk_skins[] =
{
{
IMG_ID_LANGLN_LK_BG,//U16 main_bg_img_id;
1, 319, //S16 play_btn_x, play_btn_y;
IMG_ID_LANGLN_LK_PLAY_BTN_UP, IMG_ID_LANGLN_LK_PLAY_BTN_DOWN,//U16 play_btn_up_img_id, play_btn_down_img_id;
IMG_ID_LANGLN_LK_PAUSE_BTN_UP, IMG_ID_LANGLN_LK_PAUSE_BTN_DOWN,//U16 pause_btn_up_img_id, pause_btn_down_img_id;
IMG_ID_LANGLN_LK_RESND_BTN_UP, IMG_ID_LANGLN_LK_RESND_BTN_DOWN,//U16 resnd_btn_up_img_id, resnd_btn_down_img_id;
IMG_ID_LANGLN_LK_RESNDING_BTN_UP, IMG_ID_LANGLN_LK_RESNDING_BTN_DOWN, //U16 resnding_btn_up_img_id, resnding_btn_down_img_id;
45, 337,//S16 stop_btn_x, stop_btn_y;
IMG_ID_LANGLN_LK_STOP_BTN_UP, IMG_ID_LANGLN_LK_STOP_BTN_DOWN,//U16 stop_btn_up_img_id, stop_btn_down_img_id;
IMG_ID_LANGLN_LK_PLAYSND_BTN_UP, IMG_ID_LANGLN_LK_PLAYSND_BTN_DOWN,//U16 playsnd_btn_up_img_id, playsnd_btn_down_img_id;
99, 340,//S16 next_btn_x, next_btn_y;
IMG_ID_LANGLN_LK_NEXT_BTN_UP, IMG_ID_LANGLN_LK_NEXT_BTN_DOWN,//U16 next_btn_up_img_id, next_btn_down_img_id;
73, 340,//S16 pre_btn_x, pre_btn_y;
IMG_ID_LANGLN_LK_PRE_BTN_UP, IMG_ID_LANGLN_LK_PRE_BTN_DOWN,//U16 pre_btn_up_img_id, pre_btn_down_img_id;
133, 315, //S16 abs_btn_x, abs_btn_y;
IMG_ID_LANGLN_LK_ABS_IDLE_BTN_UP, IMG_ID_LANGLN_LK_ABS_IDLE_BTN_DOWN,//U16 abs_idle_btn_up_img_id, abs_idle_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_UP, IMG_ID_LANGLN_LK_ABS_PARTIAL_BTN_DOWN,//U16 abs_partial_btn_up_img_id, abs_partial_btn_down_img_id;
IMG_ID_LANGLN_LK_ABS_SET_BTN_UP, IMG_ID_LANGLN_LK_ABS_SET_BTN_DOWN,//U16 abs_set_btn_up_img_id, abs_set_btn_down_img_id;
71, 315, 72, //S16 speed_inc_btn_x, speed_inc_btn_y, speed_bg_img_x;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_INC_BTN_DOWN,//U16 speed_inc_btn_up_img_id, speed_inc_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_INC_BTN_DIS,//U16 speed_inc_btn_dis_img_id;
IMG_ID_LANGLN_LK_SP_BTNS_DIS_BG, //U16 speed_dis_bg_img_id;
120, 315, //S16 speed_dec_btn_x, speed_dec_btn_y;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_UP, IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DOWN,//U16 speed_dec_btn_up_img_id, speed_dec_btn_down_img_id;
IMG_ID_LANGLN_LK_SPEED_DEC_BTN_DIS,//U16 speed_dec_btn_dis_img_id;
83, 315, //S16 speed_value_x, speed_value_y;
IMG_ID_LANGLN_LK_SPEED_SLOW2, //U16 speed_slow2_img_id;
IMG_ID_LANGLN_LK_SPEED_SLOW1, //U16 speed_slow1_img_id;
IMG_ID_LANGLN_LK_SPEED_NORMAL, //U16 speed_normal_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST1, //U16 speed_fast1_img_id;
IMG_ID_LANGLN_LK_SPEED_FAST2, //U16 speed_fast2_img_id;
159, 315, //S16 circulate_btn_x, circulate_btn_y;
IMG_ID_LANGLN_LK_CIRCULATE_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_BTN_DOWN,//U16 circulate_btn_up_img_id, circulate_btn_down_img_id;
IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_UP, IMG_ID_LANGLN_LK_CIRCULATE_ON_BTN_DOWN,//U16 circulate_on_btn_up_img_id, circulate_on_btn_down_img_id;
185, 315, //S16 key_word_btn_x, key_word_btn_y;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_UP, IMG_ID_LANGLN_LK_KEY_WORD_BTN_DOWN,//U16 key_word_btn_up_img_id, key_word_btn_down_img_id;
IMG_ID_LANGLN_LK_KEY_WORD_BTN_DIS,//U16 key_word_btn_dis_img_id;
211, 315,//S16 mode_btn_x, mode_btn_y;
IMG_ID_LANGLN_LK_MODE_BTN_LISTEN, IMG_ID_LANGLN_LK_MODE_BTN_SPEAK,//U16 mode_listen_btn_img_id, mode_speak_btn_img_id;
2, 289,//S16 total_time_area_x1, total_time_area_y1;
IMG_ID_LANGLN_LK_DURATION_TIME_BG,//U16 duration_area_img_id;
89, 295,//S16 progress_bar_x, progress_bar_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_BG,//U16 progress_bar_img_id;
92, 298, //S16 progress_bar_rect_x, progress_bar_rect_y;
IMG_ID_LANGLN_LK_PROGRESS_BAR_RECT,//U16 progress_bar_rect_img_id;
255, 255, 0,//U8 progress_bar_color_r, progress_bar_color_g, progress_bar_color_b;
255, 0, 0,//U8 progress_bar_abs_color_r, progress_bar_abs_color_g, progress_bar_abs_color_b;
128, 338, //S16 record_tip_area_x1, record_tip_area_y1;
IMG_ID_LANGLN_LK_RECORD_INFO_BG, //U16 record_tips_bg_img_id;
133, 315,//S16 buttons_dis_area_x, buttons_dis_area_y;
IMG_ID_LANGLN_LK_BTNS_DIS_AREA_BG,//U16 buttons_dis_area_img_id;
73, 338,//S16 next_pre_dis_area_x, next_pre_dis_area_y;
IMG_ID_LANGLN_LK_PRE_NEXT_DIS_BG,//S16 next_pre_dis_area_img_id;
/*up and down arrow key is mapping text scroll*/
/*please not use KEY_ARROW_UP and KEY_ARROW_DOWN*/
/*LISTEN mode buttons mapping keys*/
KEY_LEFT_ARROW, KEY_RIGHT_ARROW,//U8 previous_btn_mapping_key, next_btn_mapping_key;
KEY_1, KEY_2,//U8 play_btn_mapping_key, stop_btn_mapping_key;
KEY_3, KEY_4,//U8 abs_btn_mapping_key, circulate_btn_mapping_key;
KEY_7, KEY_8,//U8 speed_inc_btn_mapping_key, speed_dec_btn_mappint_key;
KEY_5 ,//U8 key_word_btn_mapping_key;
/*mode switch button mapping key, both in LISTEN mode and SPEAK mode*/
KEY_6, //U8 mode_switch_btn_mapping_key;
/*SPEAK mode buttons mapping keys*/
KEY_1, //U8 sound_record_btn_mapping_key;
KEY_2 //U8 replay_record_btn_mapping_key;
}
};
#endif
#endif /* __MMI_LANGLN_LK__ */