?? graphic.h
字號:
/*SCCSID @(#)graphic.h 1.10 5/8/98 */#ifndef GRAPHIC_INCLUDE_H#define GRAPHIC_INCLUDE_Hextern int x12000000;#define DRAMSEG x12000000typedef struct { int fX; int fY;} FGPNT;typedef union FGRECT { struct { int fLeft; int fTop; int fRight; int fBottom; } fC; struct { FGPNT fLefttop; FGPNT fRightbot; } fP;} FGRECT;/* yuv palette structure */typedef struct YUVQUAD { unsigned char yuvReserved; unsigned char yuvV; unsigned char yuvU; unsigned char yuvY;} YUVQUAD;void ShowPage(void);void GPClearScrn(int color);void SetPalette(YUVQUAD *p, int n, int i0);int FindNearestColorIndex(YUVQUAD c);void GPDrawLine(FGPNT p1, FGPNT p2, int style, int color, int mode);void GPFillRect(FGRECT r, int color, int m);void GPFrameRect(FGRECT r, int attr, int color, int m);void Save_Rect(FGRECT r);void Restore_Rect(FGRECT r);void GPFramePoly(int np, const int *x, int color, int mode);void polysave(int np, const int *x);void polyrestore(int np, const int *x);void GPDrawStringAtPosition(int xp, int yp, const char *str, int len, int color, int mode);int GPGetStringWidth(const char *s, int l);int GPGetStringHeight(const char *s, int l);void GPBitBlt(int fx,int fy, int nx,int ny, int sx,int sy, int dx,int dy, char *img, int ix, int iy, int mode);#ifdef OSDvoid OSD_init();void Start_OSD();void Open_OSD1();void Open_OSD2();void Close_OSD1();void ClrOsd();void ClrOsd2();void OSD_color(int c, int t);void OSD2(int x, int y, int w, int h);void OSD2_rect(int x, int y, int w, int h);void OSD2_mouse(int w, int y_shift, int shape);#endifvoid dsa_stop();void dsa_open();void dsa_close(int flag);int logical2physical(int x);int getSectors(int, int, int);void process_power_off_key();void play_karaoke();/* Be careful these variables should not be double defined */extern volatile unsigned int glbTimer;#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -