--- np2/win9xc/scrnmng.h 2003/10/16 17:59:20 1.1.1.1 +++ np2/win9xc/scrnmng.h 2005/02/07 14:46:15 1.4 @@ -6,7 +6,7 @@ enum { }; typedef struct { - BYTE *ptr; + UINT8 *ptr; int xalign; int yalign; int width; @@ -32,10 +32,10 @@ enum { }; typedef struct { - BYTE flag; - BYTE bpp; - BYTE allflash; - BYTE palchanged; + UINT8 flag; + UINT8 bpp; + UINT8 allflash; + UINT8 palchanged; } SCRNMNG; @@ -46,7 +46,7 @@ extern "C" { extern SCRNMNG scrnmng; // ¥ق¥¯¥يحر void scrnmng_initialize(void); -BOOL scrnmng_create(BYTE scrnmode); +BOOL scrnmng_create(UINT8 scrnmode); void scrnmng_destroy(void); void scrnmng_setwidth(int posx, int width); @@ -71,7 +71,7 @@ UINT16 scrnmng_makepal16(RGB32 pal32); void scrnmng_querypalette(void); void scrnmng_topwinui(void); void scrnmng_clearwinui(void); - +void scrnmng_restoresize(void); #ifdef __cplusplus }