osd.h

来自「mtv230 的源程序,供大家参考.」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef __OSD_H

#define __OSD_H

extern BYTE data CursorX;
extern BYTE data CursorY;

extern void gotoxy(BYTE x, BYTE y);
extern void SetOSDAttribute(BYTE color);
extern void SetOSDDisplay(BYTE font, bit page2);
extern void Double_W_H(BYTE Attr);
extern void PrintChar(BYTE FontCode, BYTE Color, bit Page2);
extern void PrintString(BYTE *string, BYTE color);
extern void PrintDec(BYTE value, BYTE color);
extern void PrintBar(WORD value, BYTE color);
extern void PrintOneBar(BYTE Cstart, BYTE Rstart, BYTE color);
extern void InitialOSD(void);
extern void OpenOSD_Border(void);
extern void CloseOSD(void);
extern void CloseOSDWindow(BYTE WinNo);
extern void SetWindow(BYTE CStart,BYTE CEnd,BYTE RStart,BYTE REnd,BYTE Color,BYTE WinNum);

extern void DelayX1ms(BYTE n);


#endif

⌨️ 快捷键说明

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