📄 resource_audply_skins.c
字号:
73,108, // prev_button_x, prev_button_y
IMG_ID_AUDPLY_MAIN_SKIN3_PREV_ON, // prev_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PREV_OFF, // prev_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PREV_DISABLED, // prev_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PREV_DOWN, // prev_button_down_image_id
97,114, // next_button_x, next_button_y
IMG_ID_AUDPLY_MAIN_SKIN3_NEXT_ON, // next_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_NEXT_OFF, // next_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_NEXT_DISABLED, // next_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_NEXT_DOWN, // next_button_down_image_id
39,100, // play_button_x, play_button_y
IMG_ID_AUDPLY_MAIN_SKIN3_PLAY_ON, // play_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PLAY_OFF, // play_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PLAY_DISABLED, // play_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PLAY_DOWN, // play_button_down_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PAUSE_ON, // pause_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_PAUSE_DOWN, // pause_button_down_image_id
11,108, // stop_button_x, stop_button_y
IMG_ID_AUDPLY_MAIN_SKIN3_STOP_ON, // stop_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_STOP_OFF, // stop_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_STOP_DISABLED, // stop_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN3_STOP_DOWN, // stop_button_down_image_id
#ifdef __MMI_AUDIO_PLAYER_ANIMATION__
-1,-1, // animation_x, animation_y
IMG_ID_AUDPLY_MAIN_SKIN3_ANIMATION, // animation_image_id
#endif
#ifdef __MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__
3,25, // repeat_x, repeat_y
IMG_ID_AUDPLY_MAIN_SKIN3_REPEAT_OFF_UP, // repeat off
IMG_ID_AUDPLY_MAIN_SKIN3_REPEAT_ALL_UP, // repeat all
IMG_ID_AUDPLY_MAIN_SKIN3_REPEAT_ONE_UP, // repeat one
108,25, // shuffle_x, shuffle_y
IMG_ID_AUDPLY_MAIN_SKIN3_SHUFFLE_OFF_UP, // shuffle off
IMG_ID_AUDPLY_MAIN_SKIN3_SHUFFLE_ON_UP, // shuffle on
#endif /*__MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__*/
AUDPLY_MAIN_PLAY, AUDPLY_MAIN_STOP, AUDPLY_MAIN_PREV, AUDPLY_MAIN_NEXT // up, down, left, right key mapping
}
#endif
};
#elif ( (LCD_WIDTH == 176) && (LCD_HEIGHT == 220) )
#ifdef __MMI_TOUCH_SCREEN__
static const audply_point_struct skin1_seek_points[] = {{0,0},{131,0},{131,6},{0,6}};
static const audply_point_struct skin1_volume_inc_points[] = {{1,1},{15,1},{15,22},{1,22}};
static const audply_point_struct skin1_volume_dec_points[] = {{1,1},{15,1},{15,22},{1,22}};
static const audply_point_struct skin1_prev_button_points[] = {{1,1},{23,1},{23,22},{1,22}};
static const audply_point_struct skin1_next_button_points[] = {{1,1},{23,1},{23,22},{1,22}};
static const audply_point_struct skin1_play_button_points[] = {{1,1},{27,1},{27,22},{1,22}};
static const audply_point_struct skin1_stop_button_points[] = {{1,1},{21,1},{21,22},{1,22}};
static const audply_point_struct skin1_setting_points[] = {{1,1},{21,1},{21,22},{1,22}};
static const audply_point_struct skin1_repeat_points[] = {{0,0},{20,0},{20,20},{0,20}};
static const audply_point_struct skin1_shuffle_points[] = {{0,0},{20,0},{20,20},{0,20}};
static const audply_point_struct skin2_seek_points[] = {{0,0},{131,0},{131,7},{0,7}};
static const audply_point_struct skin2_volume_inc_points[] = {{1,1},{15,1},{15,22},{1,22}};
static const audply_point_struct skin2_volume_dec_points[] = {{1,1},{15,1},{15,22},{1,22}};
static const audply_point_struct skin2_prev_button_points[] = {{1,1},{23,1},{23,22},{1,22}};
static const audply_point_struct skin2_next_button_points[] = {{1,1},{23,1},{23,22},{1,22}};
static const audply_point_struct skin2_play_button_points[] = {{1,1},{27,1},{27,22},{1,22}};
static const audply_point_struct skin2_stop_button_points[] = {{1,1},{21,1},{21,22},{1,22}};
static const audply_point_struct skin2_setting_points[] = {{1,1},{21,1},{21,22},{1,22}};
static const audply_point_struct skin2_repeat_points[] = {{0,0},{22,0},{22,23},{0,23}};
static const audply_point_struct skin2_shuffle_points[] = {{0,0},{20,0},{20,23},{0,23}};
static const audply_point_struct skin3_seek_points[] = {{0,0},{131,0},{131,6},{0,6}};
static const audply_point_struct skin3_volume_inc_points[] = {{1,1},{15,1},{15,22},{1,22}};
static const audply_point_struct skin3_volume_dec_points[] = {{1,1},{15,1},{15,22},{1,22}};
static const audply_point_struct skin3_prev_button_points[] = {{1,1},{23,1},{23,22},{1,22}};
static const audply_point_struct skin3_next_button_points[] = {{1,1},{23,1},{23,22},{1,22}};
static const audply_point_struct skin3_play_button_points[] = {{1,1},{27,1},{27,22},{1,22}};
static const audply_point_struct skin3_stop_button_points[] = {{1,1},{21,1},{21,22},{1,22}};
static const audply_point_struct skin3_setting_points[] = {{1,1},{21,1},{21,22},{1,22}};
static const audply_point_struct skin3_repeat_points[] = {{0,0},{20,0},{20,20},{0,20}};
static const audply_point_struct skin3_shuffle_points[] = {{0,0},{20,0},{20,20},{0,20}};
#endif
const audply_skin_struct g_audply_skins[] =
{
{ //skin1
IMG_ID_AUDPLY_MAIN_SKIN1_BG, // bg_image_id
0,0,0, // text_border_color_r, text_border_color_g, text_border_color_b
255,255,255, // text_fg_color_r, text_fg_color_g, text_fg_color_b
255,255,255, // text_bg_color_r, text_bg_color_g, text_bg_color_b
18,26,// title_x, title_y
141,17,// title_w, title_h
106,50,// time_x, time_y
44,10,// time_w, time_h
20,50, // file_index_x, file_index_y
60,10, // file_index_w, file_index_h
48,138, // playlisticon_x, playlisticon_y
{IMG_ID_AUDPLY_MAIN_SKIN1_PLAYLIST_PHONE_ICON, IMG_ID_AUDPLY_MAIN_SKIN1_PLAYLIST_CARD_ICON}, // playlisticon_images_id[NO_OF_LIST]
25,175,0,// volumebar_x, volumebar_y, volumebar_ind_len
0, //volumebar_direction
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR, // volumebar_ind_image_id
22,116,// progressbar_x, progressbar_y
IMG_ID_AUDPLY_MAIN_SKIN1_PROGRESSBAR, // progressbar_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PROGRESSBAR_FAIL, // progressbar_fail_image_id
120,168, // prev_button_x, prev_button_y
IMG_ID_AUDPLY_MAIN_SKIN1_PREV_ON, // prev_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PREV_OFF, // prev_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PREV_DISABLED, // prev_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PREV_DOWN, // prev_button_down_image_id
144,168, // next_button_x, next_button_y
IMG_ID_AUDPLY_MAIN_SKIN1_NEXT_ON, // next_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_NEXT_OFF, // next_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_NEXT_DISABLED, // next_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_NEXT_DOWN, // next_button_down_image_id
69,168, // play_button_x, play_button_y
IMG_ID_AUDPLY_MAIN_SKIN1_PLAY_ON, // play_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PLAY_OFF, // play_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PLAY_DISABLED, // play_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PLAY_DOWN, // play_button_down_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PAUSE_ON, // pause_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PAUSE_DOWN, // pause_button_down_image_id
98,168, // stop_button_x, stop_button_y
IMG_ID_AUDPLY_MAIN_SKIN1_STOP_ON, // stop_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_STOP_OFF, // stop_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_STOP_DISABLED, // stop_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_STOP_DOWN, // stop_button_down_image_id
#ifdef __MMI_AUDIO_PLAYER_ANIMATION__
6,68, // animation_x, animation_y
IMG_ID_AUDPLY_MAIN_SKIN1_ANIMATION, // animation_image_id
#endif
#ifdef __MMI_AUDIO_SPECTRUM_DISPLAY__
6,68, // spectrum_display_x, spectrum_display_y
157,48, // spectrum_display_w, spectrum_display_h
#endif
#ifdef __MMI_AUDIO_PLAYER_LYRIC_DISPLAY__
85,53,138, // lyric_fg_color_r,lyric_fg_color_g, lyric_fg_color_b
255,255,255, // lyric_border_color_r, lyric_border_color_g, lyric_border_color_b
10,68, // lyric_display_x , lyric_display_y
155,48, // lyric_display_w , lyric_display_h
#endif
#if defined( __MMI_AUDIO_SPECTRUM_DISPLAY__) && defined(__MMI_AUDIO_PLAYER_LYRIC_DISPLAY__)
1, // spectrum_lyrics_exclusive
#endif
#ifdef __MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__
6,138, // repeat_x, repeat_y
IMG_ID_AUDPLY_MAIN_SKIN1_REPEAT_OFF_UP, // repeat off
IMG_ID_AUDPLY_MAIN_SKIN1_REPEAT_ALL_UP, // repeat all
IMG_ID_AUDPLY_MAIN_SKIN1_REPEAT_ONE_UP, // repeat one
#ifdef __MMI_TOUCH_SCREEN__
IMG_ID_AUDPLY_MAIN_SKIN1_REPEAT_OFF_DOWN, // repeat off
IMG_ID_AUDPLY_MAIN_SKIN1_REPEAT_ALL_DOWN, // repeat all
IMG_ID_AUDPLY_MAIN_SKIN1_REPEAT_ONE_DOWN, // repeat one
#endif /*__MMI_TOUCH_SCREEN__*/
28, 138, // shuffle_x, shuffle_y
IMG_ID_AUDPLY_MAIN_SKIN1_SHUFFLE_OFF_UP, // shuffle off
IMG_ID_AUDPLY_MAIN_SKIN1_SHUFFLE_ON_UP, // shuffle on
#ifdef __MMI_TOUCH_SCREEN__
IMG_ID_AUDPLY_MAIN_SKIN1_SHUFFLE_OFF_DOWN, // repeat off
IMG_ID_AUDPLY_MAIN_SKIN1_SHUFFLE_ON_DOWN, // repeat all
#endif /*__MMI_TOUCH_SCREEN__*/
#endif /*__MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__*/
#ifdef __MMI_TOUCH_SCREEN__
53,168,// volume_inc_x, volume_inc_y,
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INC_UP,// volume_inc_up_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INC_DOWN,// volume_inc_down_image_id
6,168,// volume_dec_x, volume_dec_y,
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_DEC_UP,// volume_dec_up_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_DEC_DOWN,// volume_dec_down_image_id
146,138,// setting_x, setting_y
IMG_ID_AUDPLY_MAIN_SKIN1_SETTING_UP, // setting_up_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_SETTING_DOWN, // setting_down_image_id
{(const audply_point_struct *)skin1_seek_points, 4}, // progress_bar_area
{(const audply_point_struct *)skin1_volume_inc_points, 4}, // volume_inc_area
{(const audply_point_struct *)skin1_volume_dec_points, 4}, // volume_dec_area
{(const audply_point_struct *)skin1_prev_button_points, 4}, // prev_button_area
{(const audply_point_struct *)skin1_next_button_points, 4}, // next_button_area
{(const audply_point_struct *)skin1_play_button_points, 4}, // play_button_area
{(const audply_point_struct *)skin1_stop_button_points, 4}, // stop_button_area
{(const audply_point_struct *)skin1_setting_points, 4}, // setting_area
#ifdef __MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__
{(const audply_point_struct *)skin1_repeat_points, 4}, // repeat_area
{(const audply_point_struct *)skin1_shuffle_points, 4}, // shuffle_area
#endif /*__MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__*/
#endif
AUDPLY_MAIN_PLAY, AUDPLY_MAIN_STOP, AUDPLY_MAIN_PREV, AUDPLY_MAIN_NEXT // up, down, left, right key mapping
}
#ifndef __MMI_SLIM_AUDIO_PLAYER__
,
{ //skin2
IMG_ID_AUDPLY_MAIN_SKIN2_BG, // bg_image_id
0,0,0, // text_border_color_r, text_border_color_g, text_border_color_b
0,0,0, // text_fg_color_r, text_fg_color_g, text_fg_color_b
255,255,255, // text_bg_color_r, text_bg_color_g, text_bg_color_b
18,32,// title_x, title_y
141,17,// title_w, title_h
107,56,// time_x, time_y
44,10,// time_w, time_h
20,56, // file_index_x, file_index_y
60,10, // file_index_w, file_index_h
48,140, // playlisticon_x, playlisticon_y
{IMG_ID_AUDPLY_MAIN_SKIN2_PLAYLIST_PHONE_ICON, IMG_ID_AUDPLY_MAIN_SKIN2_PLAYLIST_CARD_ICON}, // playlisticon_images_id[NO_OF_LIST]
23,170,0,// volumebar_x, volumebar_y, volumebar_ind_len
0, //volumebar_direction
IMG_ID_AUDPLY_MAIN_SKIN2_VOLUME_INDICATOR, // volumebar_ind_image_id
23,127,// progressbar_x, progressbar_y
IMG_ID_AUDPLY_MAIN_SKIN2_PROGRESSBAR, // progressbar_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PROGRESSBAR_FAIL, // progressbar_fail_image_id
122,166, // prev_button_x, prev_button_y
IMG_ID_AUDPLY_MAIN_SKIN2_PREV_ON, // prev_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PREV_OFF, // prev_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PREV_DISABLED, // prev_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PREV_DOWN, // prev_button_down_image_id
145,166, // next_button_x, next_button_y
IMG_ID_AUDPLY_MAIN_SKIN2_NEXT_ON, // next_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_NEXT_OFF, // next_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_NEXT_DISABLED, // next_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_NEXT_DOWN, // next_button_down_image_id
71,166, // play_button_x, play_button_y
IMG_ID_AUDPLY_MAIN_SKIN2_PLAY_ON, // play_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PLAY_OFF, // play_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PLAY_DISABLED, // play_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PLAY_DOWN, // play_button_down_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PAUSE_ON, // pause_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_PAUSE_DOWN, // pause_button_down_image_id
99,166, // stop_button_x, stop_button_y
IMG_ID_AUDPLY_MAIN_SKIN2_STOP_ON, // stop_button_on_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_STOP_OFF, // stop_button_off_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_STOP_DISABLED, // stop_button_disabled_image_id
IMG_ID_AUDPLY_MAIN_SKIN2_STOP_DOWN, // stop_button_down_image_id
#ifdef __MMI_AUDIO_PLAYER_ANIMATION__
5,73, // animation_x, animation_y
IMG_ID_AUDPLY_MAIN_SKIN2_ANIMATION, // animation_image_id
#endif
#ifdef __MMI_AUDIO_SPECTRUM_DISPLAY__
5,73, // spectrum_display_x, spectrum_display_y
157,48, // spectrum_display_w, spectrum_display_h
#endif
#ifdef __MMI_AUDIO_PLAYER_LYRIC_DISPLAY__
0,0,0, // lyric_fg_color_r,lyric_fg_color_g, lyric_fg_color_b
255,255,255, // lyric_border_color_r, lyric_border_color_g, lyric_border_color_b
9,73, // lyric_display_x , lyric_display_y
155,48, // lyric_display_w , lyric_display_h
#endif
#if defined( __MMI_AUDIO_SPECTRUM_DISPLAY__) && defined(__MMI_AUDIO_PLAYER_LYRIC_DISPLAY__)
1, // spectrum_lyrics_exclusive
#endif
#ifdef __MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__
8,140, // repeat_x, repeat_y
IMG_ID_AUDPLY_MAIN_SKIN2_REPEAT_OFF_UP, // repeat off
IMG_ID_AUDPLY_MAIN_SKIN2_REPEAT_ALL_UP, // repeat all
IMG_ID_AUDPLY_MAIN_SKIN2_REPEAT_ONE_UP, // repeat one
#ifdef __MMI_TOUCH_SCREEN__
IMG_ID_AUDPLY_MAIN_SKIN2_REPEAT_OFF_DOWN, // repeat off
IMG_ID_AUDPLY_MAIN_SKIN2_REPEAT_ALL_DOWN, // repeat all
IMG_ID_AUDPLY_MAIN_SKIN2_REPEAT_ONE_DOWN, // repeat one
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -