--- np2/wince/scrnmng.h 2003/10/21 14:57:41 1.1 +++ np2/wince/scrnmng.h 2003/11/21 06:51:15 1.2 @@ -32,50 +32,27 @@ void scrnmng_update(void); RGB16 scrnmng_makepal16(RGB32 pal32); -#ifdef __cplusplus -} -#endif - - - - - - +// ---- for wince +void scrnmng_enable(BOOL enable); +BOOL scrnmng_mousepos(LPARAM *lp); +void scrnmng_clear(BOOL logo); +// ---- for menubase - - - -#if 0 typedef struct { - BYTE *ptr; - int xalign; - int yalign; int width; int height; - int bit; -const void *arg; -} DEST_SURFACE; - + int bpp; +} SCRNMENU; -#ifdef __cplusplus -extern "C" { -#endif - -void gdraws_init(void); -BOOL gdraws_InitDirectDraw(HWND hWnd, LONG width, LONG height); -void gdraws_TermDirectDraw(void); -BOOL gdraws_draws(void (*cb)(DEST_SURFACE *ds), const void *arg); -void gdraws_enable(BOOL enable); -BOOL gdraws_mousepos(LPARAM *lp); -void gdraws_keybinds(struct GXKeyList *gxkey); -long gdraws_getyalign(void); +BOOL scrnmng_entermenu(SCRNMENU *smenu); +void scrnmng_leavemenu(void); +void scrnmng_menudraw(const RECT_T *rct); #ifdef __cplusplus } #endif -#endif