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

📄 graphic.h

📁 一个两碟控制的VCD的代码,两碟之间的转动及连续播放,已大量生产的CODE.
💻 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 + -