--- np2/x11/scrnmng.h 2007/01/22 16:37:51 1.6 +++ np2/x11/scrnmng.h 2011/01/15 19:16:58 1.9 @@ -1,6 +1,8 @@ #ifndef NP2_X11_SCRNMNG_H__ #define NP2_X11_SCRNMNG_H__ +G_BEGIN_DECLS + enum { RGB24_B = 2, RGB24_G = 1, @@ -40,11 +42,6 @@ typedef struct { BYTE palchanged; } SCRNMNG; - -#ifdef __cplusplus -extern "C" { -#endif - extern SCRNMNG *scrnmngp; void scrnmng_initialize(void); @@ -70,7 +67,7 @@ RGB16 scrnmng_makepal16(RGB32 pal32); /* -- for X11 */ void scrnmng_setmultiple(int multiple); -void scrnmng_terminate(void); +void scrnmng_fullscreen(int onoff); /* * for menubase @@ -86,8 +83,6 @@ BOOL scrnmng_entermenu(SCRNMENU *smenu); void scrnmng_leavemenu(void); void scrnmng_menudraw(const RECT_T *rct); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* NP2_X11_SCRNMNG_H__ */