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

📄 osd_resources.h

📁 三星ic 9980的源代码. 718版.
💻 H
字号:
#ifndef _OSD_RESOURCES_H_
#define  _OSD_RESOURCES_H_

//#include "Osd_image.h"
#include "Osd_font.h"
#include "..\..\api\S5h_capability.h"

#define MAX_SUPPORT_DYN_STR 			80	//100//200//40
#define MAX_SUPPORT_MMN_STR 			100//50
#define MAX_SUPPORT_DYNAMIC_LENGTH 		18//20//15	//20//38

extern S5H_OsdHwnd_t gInofo_wnd[];
extern S5H_OsdHwnd_t gProg_wnd[];
extern S5H_OsdHwnd_t gMp3_wnd[];

extern NCHAR  gOsd_str_dyn[MAX_SUPPORT_DYN_STR][MAX_SUPPORT_DYNAMIC_LENGTH];
//extern NCHAR  gOsd_str_mmn[MAX_SUPPORT_MMN_STR][MAX_SUPPORT_DYNAMIC_LENGTH];

extern ULONG					gClut[];
extern ULONG					gClut_mp3[];

#if 0
#define CLUT_NUMBER		16	
#else
#define CLUT_NUMBER		4
#endif

#define PGM_BG_X		60//70		// +3 for BG_IN
#define PGM_BG_Y		50-15//50		// +3 for BG_IN

#define PGM_BG_W		600//580		// -6 for BG_IN
#define PGM_BG_H		410		// -6 for BG_IN

#define PGM_TOP_H			30
#define PGM_TOP_ICON_W	42
#define PGM_TOP_ICON_H		34

#define PGM_TOP_VAR_TXT_X		PGM_BG_X + 5	// + PGM_TOP_ICON_W  + 20
#define PGM_TOP_FIX_TXT_X		PGM_TOP_VAR_TXT_X  + 120
#define PGM_TOP_TXT_Y			PGM_BG_Y + 3 + (PGM_TOP_H-30)/2	// 30 for font height


#define PGM_TOP_HELP_W	34+64+24	// =122
#define PGM_TOP_HELP_GAP	5
#define PGM_TOP_HELP_X		500-64//425//==PGM_BG_X + PGM_BG_W - 3 - PGM_TOP_HELP_W - 10
#define PGM_TOP_HELP_Y		PGM_BG_Y + 3 + (PGM_TOP_H-24)/2

#define PGM_MID_Y			PGM_BG_Y+3+PGM_TOP_H/2//10
#define PGM_MID_H			30//50
#define PGM_MID_STR_X		PGM_BG_X + 20
#define PGM_MID_STR_Y		PGM_MID_Y + (PGM_MID_H-30)/2

#define PGM_FILL_Y			PGM_BG_Y+3+PGM_TOP_H/2 +	PGM_MID_H/2  +20
#define PGM_FILL_W			134//135
#define PGM_FILL_H			264
#define PGM_FILL1_X			PGM_BG_X+ 3	+5	//+10	
#define PGM_FILL2_X			PGM_FILL1_X+PGM_FILL_W/2+5	//PGM_FILL1_X+PGM_FILL_W+10
#define PGM_FILL3_X			PGM_FILL2_X+PGM_FILL_W/2+5
#define PGM_FILL4_X			PGM_FILL3_X+PGM_FILL_W/2+5

#define PGM_LINE1_X			PGM_FILL1_X+3	//10
#define PGM_LINE2_X			PGM_FILL2_X+3	//10
#define PGM_LINE3_X			PGM_FILL3_X+3	//10
#define PGM_LINE4_X			PGM_FILL4_X+3	//10


#define PGM_ITEM_W			51
#define PGM_ITEM_H			32

#define PGM_ROW1_Y			PGM_FILL_Y+8+(PGM_ITEM_H/2+8)*0
#define PGM_ROW2_Y			PGM_FILL_Y+8+(PGM_ITEM_H/2+8)*1
#define PGM_ROW3_Y			PGM_FILL_Y+8+(PGM_ITEM_H/2+8)*2
#define PGM_ROW4_Y			PGM_FILL_Y+8+(PGM_ITEM_H/2+8)*3
#define PGM_ROW5_Y			PGM_FILL_Y+8+(PGM_ITEM_H/2+8)*4

#define PGM_ITEM_TXT_CROP	3
#define PGM_ITEM_TOP_GAP	1

//maymeng 050517
#if _MP3_EXPLORE_OSD
#define EXP_X  100
#define EXP_Y  90

#define EXP_W  480
#define EXP_H  284//268//300

#if _SUPPORT_DOUBLING
#define EXP_ARROW_FOLD_Y  (EXP_Y+22)
#define EXP_ARROW_FILE_X    (EXP_X+118)
#else
#define EXP_ARROW_FOLD_Y  (EXP_Y+44)
#define EXP_ARROW_FILE_X    (EXP_X+236)
#endif/* _SUPPORT_DOUBLING */
#endif
//end
#endif

⌨️ 快捷键说明

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