目标文件:Resource_audply_skins.c (plutommi\customer\custresource\pluto_mmi)
首先可以利用Fireworks得出各元素的坐标
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,58,// time_x, time_y
44,10,// time_w, time_h
20,58, // file_index_x, file_index_y
60,10, // file_index_w, file_index_h
1,599, // 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]
45,135,4,// volumebar_x, volumebar_y, volumebar_ind_len
0, //volumebar_direction
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR, // volumebar_ind_image_id
21,153,// progressbar_x, progressbar_y
IMG_ID_AUDPLY_MAIN_SKIN1_PROGRESSBAR, // progressbar_image_id
IMG_ID_AUDPLY_MAIN_SKIN1_PROGRESSBAR_FAIL, // progressbar_fail_image_id
36,164, // 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
141,164, // 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
106,164, // 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
71,164, // 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__
9,39, // animation_x, animation_y
IMG_ID_AUDPLY_MAIN_SKIN1_ANIMATION, // animation_image_id
#endif
#ifdef __MMI_AUDIO_SPECTRUM_DISPLAY__
27,80, // spectrum_display_x, spectrum_display_y
118,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
32,82, // lyric_display_x , lyric_display_y
110,20, // 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__
115,128, // 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__*/
143, 127, // 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__*/
71,129,// 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
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INC_DISABLE,
29,130,// 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
IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_DEC_DISABLE,
#ifdef __MMI_TOUCH_SCREEN__
24,160,// 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
}
相关资源:七夕情人节表白HTML源码(两款)