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

📄 osd_util.h

📁 SAMSUNG 5009的源代码
💻 H
字号:
#ifndef _OSD_UTIL_BASIC_H_
#define _OSD_UTIL_BASIC_H_

#define OSD_ORIGIN_X			100
#define OSD_ORIGIN_Y			80
#define OSD_ORIGIN_X_LOAD		260
#define OSD_ORIGIN_Y_LOAD		340
#define OSD_ORIGIN_X_INFO		50
#define OSD_ORIGIN_Y_INFO		26
#define OSD_ORIGIN_X_ICON		620

//HANJL, 060928, if num keep while new cursor msg handling
#define IS_NUM_KEEPING_IN_CURSOR_HANDLE  ((((GetDisplayMainState())==DISPLAY_INFO)&&((gOSD_state.etInfo_sub)!=INFO_SUB_NONE))||\
											((GetDisplayMainState())==DISPLAY_SETUP)||\
											((GetDisplayMainState())==DISPLAY_PROGRAM)||\
											((GetDisplayMainState())==DISPLAY_ADULT_PSWD_CHECK))


extern VOID OwSetTxtInCenterSimple( OSD_Rectangle_st *wnd_bg, OSD_Rectangle_st *wnd,char * str);
extern BOOL OwGetStrCenterPos(CHAR* str, BYTE2 width, BYTE2 height, BYTE2 *x_pos, BYTE2 *y_pos );
extern BOOL OwGetOsdCenterPosition( BYTE2 *x_pos,BYTE2 *y_pos, BYTE2 width, BYTE2 height );

extern VOID OwUpdateStr(char* gStr,char * string, BYTE2 x, BYTE2 y, BYTE2 w, BYTE2 h);  //clina 20060116
extern VOID OwSetVisibleString(UCHAR * string);
extern VOID OwSetValidNumberStringFormat(CHAR *str,  UINT input_num); // Qian liping 050813
extern BOOL IsTransNoticeBg( void );

VOID CursorLayerOff( VOID );
VOID GraphicMessageOn(OwNotice_type type_nt, NCHAR *top, NCHAR *bottom );
VOID GraphicNotAvailOn( VOID );
#if _SUPPORT_TVG_FUNCTION_		//(weilf)20060720
VOID GraphicTVGOn( VOID );
VOID GraphicNoTVGOn( VOID );
#endif 
OwNotice_type CursorDrawIconOnState(NCHAR*	text, BOOL*	isState );
BOOL CursorDrawIconOnRpt(NCHAR*	text );
BOOL CursorDrawIconOnMute(NCHAR*	text);
BOOL IsMmnCursorMsgOn(VOID);
BOOL CursorDrawIconOnZoom(NCHAR*	text);
VOID CursorMessageOn( OwNotice_type type_cursor, NCHAR*	text );
VOID GraphicSelectRepeatSub( RepeatSub_et old_t, RepeatSub_et new_t );
VOID GraphicSetBookmark( UINT new_bm, UINT old_bm );
VOID GraphicChangeEzView( VOID );
/* Display change and update */
//VOID GraphicDisplayInfoDvdv( VOID );
VOID GraphicDisplayInfoBriefDvdv( VOID );
VOID GraphicDisplayInfoDetailDvdv( VOID );	

VOID GraphicDisplayInfoXvcd( VOID );
VOID GraphicLoadingChangeOn( VOID );
VOID GraphicSelectAdultSub( ONOFF toggle );
VOID GraphicPasswdEnterSub( UINT count );
VOID GraphicBackgroundOn( VOID );

VOID OsdDoOff( VOID );		//(weilf)20060726
VOID OsdCheck( VOID );		//(weilf)20060726
VOID OsdHandlerSetupDspInit(VOID);		//(weilf)20060726
BOOL OwGetOsdCenterPosY(BYTE2 *y_pos);		//(weilf)20060726
VOID  IconTimerReset( IconState_et 	new_icon );		//(weilf)20060726


#endif /*  _OSD_UTIL_H_  */

⌨️ 快捷键说明

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