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

📄 osddisp.h

📁 可配三星17寸屏的2523源程序+MTV512
💻 H
字号:
//----------------------------------------------------------------------------------------------------
// ID Code      : OsdDisp.h No.0000
// Update Note  : 
//
//----------------------------------------------------------------------------------------------------

//--------------------------------------------------
// Definitions of OsdDisp.h
//--------------------------------------------------
#define _SUB_ITEM_WINDOW_CONFIG         0
#define _SUB_ITEM_DCC                   1
#define _SUB_ITEM_ICM                   2
#define _SUB_ITEM_ICM_RED               3
#define _SUB_ITEM_ICM_GREEN             4
#define _SUB_ITEM_ICM_BLUE              5
#define _SUB_ITEM_COLOR                 6
#define _SUB_ITEM_WINDOW_CONFIG_ADJ     7
#define _SUB_ITEM_ICM_RED_ADJ           8
#define _SUB_ITEM_ICM_GREEN_ADJ         9
#define _SUB_ITEM_ICM_BLUE_ADJ          10
#define _SUB_ITEM_COLOR_ADJ             11
#define _SUB_ITEM_WINDOW                12


//----------------------------------------------------------------------------------------------------

#ifdef __OSDDISP__

//--------------------------------------------------
// Global Variables
//--------------------------------------------------


//--------------------------------------------------
// Function Prototypes
//--------------------------------------------------
void COsdDispFirstTimeLoadFont(void);
void COsdDispAutoProc(void);
void COsdDispAutoColorProc(void);
void COsdDispNoSignalProc(void);
void COsdDispNoCableProc(void);
void COsdDispNoSupportProc(void);

void COsdDispFullSlider(BYTE ucRow, BYTE ucCol, BYTE ucLength, WORD usValue, WORD usRange, WORD usMin, BYTE ucColor, BYTE ucNumColor);
void COsdDispClearIcon(BYTE ucRow,BYTE ucCol, BYTE ucWidth,BYTE ucHeight);
void COsdDispClearText(BYTE ucRow,BYTE ucCol, BYTE ucWidth,BYTE ucHeight);
void COsdDispPenPoint(BYTE ucSrcX, BYTE ucSrcY, BYTE ucDesX, BYTE ucDesY, BYTE ucState);
void COsdDispArrowPoint(BYTE ucSrcX, BYTE ucSrcY, BYTE ucDesX, BYTE ucDesY, BYTE ucState);
void COsdDispWindowPoint(BYTE ucRowNum, BYTE ucState);
void COsdDispWindowHPoint(BYTE ucRowNum, BYTE ucStart, BYTE ucInterval, BYTE ucItemNum, BYTE ucThick, BYTE ucState);
void COsdDispDrawInitWindow(void);
void COsdDispLanguageBack(void);
void COsdDispShowFactoryModeValue(void);
void COsdDispAutoProcPrevWork(void);
void COsdDispColorTempSelect(void);
BYTE COsdDispSetWindowPosDisp(BYTE ucSelect, BYTE code *pArray);
void COsdDispOsdTimerEvent(void);
void COsdDispMZReturnMain(BYTE ucNum);
void COsdDispMZReturnICM(BYTE ucNum);
void COsdDispMZReturnWindowConfig(BYTE ucNum);
void COsdDispMZMainItemSelect(BYTE ucNum);
void COsdDispMZSubItemSelect(BYTE ucNum, BYTE ucPar);
void COsdDispMZItemAdjSelect(BYTE ucNum, BYTE ucPar, BYTE ucColor);
void COsdDispMZSlider(BYTE ucRow, BYTE ucCol, BYTE ucLength, WORD usValue, WORD usMax, WORD usMin);


#else

//--------------------------------------------------
// Extern Global Variables
//--------------------------------------------------


//--------------------------------------------------
// Extern Function Prototypes
//--------------------------------------------------
extern void COsdDispFirstTimeLoadFont(void);
extern void COsdDispAutoProc(void);
extern void COsdDispAutoColorProc(void);
extern void COsdDispNoSignalProc(void);
extern void COsdDispNoCableProc(void);
extern void COsdDispNoSupportProc(void);

extern void COsdDispFullSlider(BYTE ucRow, BYTE ucCol, BYTE ucLength, WORD usValue, WORD usRange, WORD usMin, BYTE ucColor, BYTE ucNumColor);
extern void COsdDispClearIcon(BYTE ucRow,BYTE ucCol, BYTE ucWidth,BYTE ucHeight);
extern void COsdDispClearText(BYTE ucRow,BYTE ucCol, BYTE ucWidth,BYTE ucHeight);
extern void COsdDispPenPoint(BYTE ucSrcX, BYTE ucSrcY, BYTE ucDesX, BYTE ucDesY, BYTE ucState);
extern void COsdDispArrowPoint(BYTE ucSrcX, BYTE ucSrcY, BYTE ucDesX, BYTE ucDesY, BYTE ucState);
extern void COsdDispWindowPoint(BYTE ucRowNum, BYTE ucState);
extern void COsdDispWindowHPoint(BYTE ucRowNum, BYTE ucStart, BYTE ucInterval, BYTE ucItemNum, BYTE ucThick, BYTE ucState);
extern void COsdDispDrawInitWindow(void);
extern void COsdDispLanguageBack(void);
extern void COsdDispShowFactoryModeValue(void);
extern void COsdDispAutoProcPrevWork(void);
extern void COsdDispColorTempSelect(void);
extern BYTE COsdDispSetWindowPosDisp(BYTE ucSelect, BYTE code *pArray);
extern void COsdDispOsdTimerEvent(void);
extern void COsdDispMZReturnMain(BYTE ucNum);
extern void COsdDispMZReturnICM(BYTE ucNum);
extern void COsdDispMZReturnWindowConfig(BYTE ucNum);
extern void COsdDispMZMainItemSelect(BYTE ucNum);
extern void COsdDispMZSubItemSelect(BYTE ucNum, BYTE ucPar);
extern void COsdDispMZItemAdjSelect(BYTE ucNum, BYTE ucPar, BYTE ucColor);
extern void COsdDispMZSlider(BYTE ucRow, BYTE ucCol, BYTE ucLength, WORD usValue, WORD usMax, WORD usMin);


#endif


//----------------------------------------------------------------------------------------------------


//--------------------------------------------------
// Macro of 
//--------------------------------------------------
#define GET_MZ_DCC_TYPE()           (stOsdUserData.MZDCC & (_BIT1 | _BIT0))
#define SET_MZ_DCC_TYPE(x)          (stOsdUserData.MZDCC = ((stOsdUserData.MZDCC & ~(_BIT1 | _BIT0)) | x))


#define GET_MZ_WINDOW_CFG_TYPE()    ((stOsdUserData.MZDCC & (_BIT3 | _BIT2)) >> 2)
#define SET_MZ_WINDOW_CFG_TYPE(x)   (stOsdUserData.MZDCC = ((stOsdUserData.MZDCC & ~(_BIT3 | _BIT2)) | (x << 2)))


#define GET_MZ_ICM_ON_OFF_TYPE()    ((stOsdUserData.MZDCC & (_BIT4)) >> 4)
#define SET_MZ_ICM_ON_OFF_TYPE(x)   (stOsdUserData.MZDCC = ((stOsdUserData.MZDCC & ~(_BIT4)) | (x << 4)))


⌨️ 快捷键说明

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