⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resource_audply_skins.c

📁 MTK6226修改平台UI的文件介绍
💻 C
📖 第 1 页 / 共 5 页
字号:
#endif /*__MMI_TOUCH_SCREEN__*/
		28, 140, // shuffle_x, shuffle_y
        IMG_ID_AUDPLY_MAIN_SKIN2_SHUFFLE_OFF_UP, // shuffle off
        IMG_ID_AUDPLY_MAIN_SKIN2_SHUFFLE_ON_UP, // shuffle on       
#ifdef __MMI_TOUCH_SCREEN__
        IMG_ID_AUDPLY_MAIN_SKIN2_SHUFFLE_OFF_DOWN, // repeat off
        IMG_ID_AUDPLY_MAIN_SKIN2_SHUFFLE_ON_DOWN, // repeat all   
#endif /*__MMI_TOUCH_SCREEN__*/
#endif /*__MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__*/
#ifdef __MMI_TOUCH_SCREEN__
		52,166,// volume_inc_x, volume_inc_y,
		IMG_ID_AUDPLY_MAIN_SKIN2_VOLUME_INC_UP,// volume_inc_up_image_id
		IMG_ID_AUDPLY_MAIN_SKIN2_VOLUME_INC_DOWN,// volume_inc_down_image_id
		7,166,// volume_dec_x, volume_dec_y,
		IMG_ID_AUDPLY_MAIN_SKIN2_VOLUME_DEC_UP,// volume_dec_up_image_id
		IMG_ID_AUDPLY_MAIN_SKIN2_VOLUME_DEC_DOWN,// volume_dec_down_image_id
		145,140,// setting_x, setting_y
		IMG_ID_AUDPLY_MAIN_SKIN2_SETTING_UP,// setting_up_image_id
		IMG_ID_AUDPLY_MAIN_SKIN2_SETTING_DOWN,// setting_down_image_id
		{(const audply_point_struct *)skin2_seek_points, 4}, // progress_bar_area	
		{(const audply_point_struct *)skin2_volume_inc_points, 4}, // volume_inc_area
		{(const audply_point_struct *)skin2_volume_dec_points, 4}, // volume_dec_area
		{(const audply_point_struct *)skin2_prev_button_points, 4}, // prev_button_area
		{(const audply_point_struct *)skin2_next_button_points, 4}, // next_button_area
		{(const audply_point_struct *)skin2_play_button_points, 4}, // play_button_area
		{(const audply_point_struct *)skin2_stop_button_points, 4}, // stop_button_area
		{(const audply_point_struct *)skin2_setting_points, 4}, // setting_area
#ifdef __MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__		
		{(const audply_point_struct *)skin2_repeat_points, 4}, // repeat_area
		{(const audply_point_struct *)skin2_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
	}
	,
	{	//skin3
		IMG_ID_AUDPLY_MAIN_SKIN3_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
		14,37,// title_x, title_y
		141,17,// title_w, title_h
		104,60,// time_x, time_y
		44,10,// time_w, time_h
		17,60, // file_index_x, file_index_y
		60,10, // file_index_w, file_index_h
		50,145, // playlisticon_x, playlisticon_y
		{IMG_ID_AUDPLY_MAIN_SKIN3_PLAYLIST_PHONE_ICON, IMG_ID_AUDPLY_MAIN_SKIN3_PLAYLIST_CARD_ICON}, // playlisticon_images_id[NO_OF_LIST]
		25,172,0,// volumebar_x, volumebar_y,  volumebar_ind_len
		0, //volumebar_direction
		IMG_ID_AUDPLY_MAIN_SKIN3_VOLUME_INDICATOR, // volumebar_ind_image_id
		23,134,// progressbar_x, progressbar_y
		IMG_ID_AUDPLY_MAIN_SKIN3_PROGRESSBAR, // progressbar_image_id
		IMG_ID_AUDPLY_MAIN_SKIN3_PROGRESSBAR_FAIL, // progressbar_fail_image_id
		123,168, // 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
		147,168, // 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
		72,168, // 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
		101,168, // 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__
		5,77, // animation_x, animation_y
		IMG_ID_AUDPLY_MAIN_SKIN3_ANIMATION, // animation_image_id
#endif
#ifdef __MMI_AUDIO_SPECTRUM_DISPLAY__
		5,77, // 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,77, // 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__
		10,145, // 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
#ifdef __MMI_TOUCH_SCREEN__
        IMG_ID_AUDPLY_MAIN_SKIN3_REPEAT_OFF_DOWN, // repeat off
        IMG_ID_AUDPLY_MAIN_SKIN3_REPEAT_ALL_DOWN, // repeat all
        IMG_ID_AUDPLY_MAIN_SKIN3_REPEAT_ONE_DOWN, // repeat one        
#endif /*__MMI_TOUCH_SCREEN__*/
		30, 145, // shuffle_x, shuffle_y
        IMG_ID_AUDPLY_MAIN_SKIN3_SHUFFLE_OFF_UP, // shuffle off
        IMG_ID_AUDPLY_MAIN_SKIN3_SHUFFLE_ON_UP, // shuffle on       
#ifdef __MMI_TOUCH_SCREEN__
        IMG_ID_AUDPLY_MAIN_SKIN3_SHUFFLE_OFF_DOWN, // repeat off
        IMG_ID_AUDPLY_MAIN_SKIN3_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_SKIN3_VOLUME_INC_UP,// volume_inc_up_image_id
		IMG_ID_AUDPLY_MAIN_SKIN3_VOLUME_INC_DOWN,// volume_inc_down_image_id
		8,168,// volume_dec_x, volume_dec_y,
		IMG_ID_AUDPLY_MAIN_SKIN3_VOLUME_DEC_UP,// volume_dec_up_image_id
		IMG_ID_AUDPLY_MAIN_SKIN3_VOLUME_DEC_DOWN,// volume_dec_down_image_id
		147,145,// setting_x, setting_y
		IMG_ID_AUDPLY_MAIN_SKIN3_SETTING_UP,// setting_up_image_id
		IMG_ID_AUDPLY_MAIN_SKIN3_SETTING_DOWN,// setting_down_image_id
		{(const audply_point_struct *)skin3_seek_points, 4}, // progress_bar_area
		{(const audply_point_struct *)skin3_volume_inc_points, 4}, // volume_inc_area
		{(const audply_point_struct *)skin3_volume_dec_points, 4}, // volume_dec_area
		{(const audply_point_struct *)skin3_prev_button_points, 4}, // prev_button_area
		{(const audply_point_struct *)skin3_next_button_points, 4}, // next_button_area
		{(const audply_point_struct *)skin3_play_button_points, 4}, // play_button_area
		{(const audply_point_struct *)skin3_stop_button_points, 4}, // stop_button_area
		{(const audply_point_struct *)skin3_setting_points, 4}, // setting_area
#ifdef __MMI_AUDIO_PLAYER_SKIN_SHOW_REPEAT_SHUFFLE__		
		{(const audply_point_struct *)skin3_repeat_points, 4}, // repeat_area
		{(const audply_point_struct *)skin3_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
	}
#endif  /* ~__MMI_SLIM_AUDIO_PLAYER__ */
};
#elif ( (LCD_WIDTH == 240) && (LCD_HEIGHT == 320) )
#ifdef __MMI_TOUCH_SCREEN__
// wangbei add start 20070529
//__MT170_UI_STYLE__
//zx modify begin 20070820
#ifdef __MT190_UI_STYLE__
static const audply_point_struct skin1_seek_points[] = {{0,0},{140,0},{140,14},{0,14}};
static const audply_point_struct skin1_volume_inc_points[] = {{0,0},{21,0},{0,18},{21,18}};
static const audply_point_struct skin1_volume_dec_points[] = {{0,0},{21,0},{0,18},{21,18}};
#else
static const audply_point_struct skin1_seek_points[] = {{0,0},{140,0},{140,6},{0,6}};
static const audply_point_struct skin1_volume_inc_points[] = {{0,0},{14,0},{0,14},{14,14}};
static const audply_point_struct skin1_volume_dec_points[] = {{0,0},{14,0},{0,14},{14,14}};
#endif
//zx modify end
//wangbei modify 20071011
static const audply_point_struct skin1_prev_button_points[] = {{0,0},{16,0},{0,11},{16,11}};
static const audply_point_struct skin1_next_button_points[] = {{0,0},{16,0},{0,11},{16,11}};
static const audply_point_struct skin1_play_button_points[] = {{0,0},{11,0},{0,13},{11,13}};
static const audply_point_struct skin1_stop_button_points[] = {{0,0},{11,0},{0,11},{11,11}};
//wangbei modify end
static const audply_point_struct skin1_setting_points[] = {{20,0},{39,15},{20,29},{0,15}};
static const audply_point_struct skin1_repeat_points[] = {{20,0},{39,15},{20,29},{0,15}};
static const audply_point_struct skin1_shuffle_points[] = {{20,0},{39,15},{20,29},{0,15}}; 
// wangbei add end
// wangbei del start 20070529
#if 0//__MV188_A_UI_STYLE__
static const audply_point_struct skin1_seek_points[] = {{0,0},{207,0},{207,10},{0,10}};
static const audply_point_struct skin1_volume_inc_points[] = {{0,1},{16,1},{16,24},{0,24}};
static const audply_point_struct skin1_volume_dec_points[] = {{1,1},{17,1},{17,24},{1,24}};
static const audply_point_struct skin1_prev_button_points[] = {{3,5},{28,2},{28,28},{3,28}};
static const audply_point_struct skin1_next_button_points[] = {{2,4},{27,4},{27,28},{2,28}};
static const audply_point_struct skin1_play_button_points[] = {{2,3},{42,3},{42,30},{2,30}};
static const audply_point_struct skin1_stop_button_points[] = {{2,2},{26,2},{26,30},{2,30}};
static const audply_point_struct skin1_setting_points[] = {{2,3},{24,3},{24,27},{2,27}};
static const audply_point_struct skin1_repeat_points[] = {{2,3},{24,3},{24,27},{2,27}};
static const audply_point_struct skin1_shuffle_points[] = {{2,3},{24,3},{24,27},{2,27}};
#endif
// wangbei del  end

static const audply_point_struct skin2_seek_points[] = {{0,0},{194,0},{194,10},{0,10}};
static const audply_point_struct skin2_volume_inc_points[] = {{0,0},{16,0},{16,28},{0,28}};
static const audply_point_struct skin2_volume_dec_points[] = {{0,0},{16,0},{16,28},{0,28}};
static const audply_point_struct skin2_prev_button_points[] = {{0,0},{30,0},{30,24},{0,24}};
static const audply_point_struct skin2_next_button_points[] = {{0,0},{30,0},{30,24},{0,24}};
static const audply_point_struct skin2_play_button_points[] = {{0,0},{40,0},{40,28},{0,28}};
static const audply_point_struct skin2_stop_button_points[] = {{0,0},{28,0},{28,28},{0,28}};
static const audply_point_struct skin2_setting_points[] = {{0,0},{22,0},{22,28},{0,28}};
static const audply_point_struct skin2_repeat_points[] = {{0,0},{22,0},{22,28},{0,28}};
static const audply_point_struct skin2_shuffle_points[] = {{0,0},{22,0},{22,28},{0,28}};

static const audply_point_struct skin3_seek_points[] = {{0,0},{194,0},{194,10},{0,10}};
static const audply_point_struct skin3_volume_inc_points[] = {{0,0},{18,0},{18,30},{0,30}};
static const audply_point_struct skin3_volume_dec_points[] = {{0,0},{18,0},{18,30},{0,30}};
static const audply_point_struct skin3_prev_button_points[] = {{0,0},{31,0},{31,26},{0,26}};
static const audply_point_struct skin3_next_button_points[] = {{0,0},{31,0},{31,26},{0,26}};
static const audply_point_struct skin3_play_button_points[] = {{0,0},{42,0},{42,30},{0,30}};
static const audply_point_struct skin3_stop_button_points[] = {{0,0},{29,0},{29,30},{0,30}};
static const audply_point_struct skin3_setting_points[] = {{0,0},{20,0},{20,22},{0,22}};
static const audply_point_struct skin3_repeat_points[] = {{0,0},{20,0},{20,22},{0,22}};
static const audply_point_struct skin3_shuffle_points[] = {{0,0},{20,0},{20,22},{0,22}};
#endif /*__MMI_TOUCH_SCREEN__*/

const audply_skin_struct g_audply_skins[] =
{
	{	//skin1   //zx modify begin 20070730
		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   //modify by wangbei  20070529
		255,255,255, // text_bg_color_r, text_bg_color_g, text_bg_color_b
		13,153,//13,2,//13,41,// title_x, title_y                                                   //modify by wangbei 20070529  //zx modify 20070815   //wkh modify 20071010
		212,22,//212,23,// title_w, title_h                                              //modify by wangbei 20070529 
		90,213,//144,24,//122,69,// time_x, time_y                                           //modify by wangbei 20070529   //wkh modify 20070928
		60,18,//104,18,// time_w, time_h                                            //modify by wangbei 20070529
		40,15,//22,24,//20,223,//17,69, // file_index_x, file_index_y                              //modify by wangbei 20070529    //zx modify 20070809   //wkh modify 20071010
		92,18,//92,18, // file_index_w, file_index_h                              //modify by wangbei 20070529    //zx modify 20070802
		//10,28,//65,216, // playlisticon_x, playlisticon_y                      //modify by wangbei 20070529                         //wkh modify 20071010
		//{IMG_ID_AUDPLY_MAIN_SKIN1_PLAYLIST_PHONE_ICON, IMG_ID_AUDPLY_MAIN_SKIN1_PLAYLIST_CARD_ICON}, // playlisticon_images_id[NO_OF_LIST]
		//26,224,50,//37,265,0,// volumebar_x, volumebar_y, volumebar_ind_len  //modify by wangbei 20070529
	//	1,//0, //volumebar_direction//modify by wangbei 20070529                                                                                //wkh modify 20071010
		// wangbei add start 20070529
		#ifdef __NEW_STYLE_MP3PLAYER_VOLUME__
		IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR0,
		IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR1,
		IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR2,
		IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR3,
		IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR4,
		IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR5,
		IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR6,
		#else
		// wangbei add end
		//IMG_ID_AUDPLY_MAIN_SKIN1_VOLUME_INDICATOR, // volumebar_ind_image_id           //wkh modify 20071010
		#endif // wangbei add 20070525
    	       15,200,// 2,209,//16,194,// progressbar_x, progressbar_y                         //modify by wangbei 20070529    //wkh modify 20071010
		IMG_ID_AUDPLY_MAIN_SKIN1_PROGRESSBAR, // progressbar_image_id
		IMG_ID_AUDPLY_MAIN_SKIN1_PROGRESSBAR_FAIL, // progressbar_fail_image_id
		77,263,//6,248,//167,253, // prev_button_x, prev_button_y                        //modify by wangbei 20070529    //wkh modify 20071010
		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
		146,263,//183,248,//197,253, // next_button_x, next_button_y                   //modify by wangbei 20070529    //wkh modify 20071010
		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,257,//65,248,//94,253, // play_button_x, play_button_y                      //modify by wangbei 20070529    //wkh modify 20071010
		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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -