|
|
| version 1.5, 2011/01/15 18:43:13 | version 1.6, 2011/01/15 19:16:58 |
|---|---|
| Line 30 | Line 30 |
| #include "cmndraw.h" | #include "cmndraw.h" |
| G_BEGIN_DECLS | |
| typedef struct { | typedef struct { |
| RGB32 mask; | RGB32 mask; |
| BYTE r16b; | BYTE r16b; |
| Line 51 typedef struct { | Line 53 typedef struct { |
| BOOL drawing; | BOOL drawing; |
| } _DRAWMNG_HDL, *DRAWMNG_HDL; | } _DRAWMNG_HDL, *DRAWMNG_HDL; |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| DRAWMNG_HDL drawmng_create(void *parent, int width, int height); | DRAWMNG_HDL drawmng_create(void *parent, int width, int height); |
| void drawmng_release(DRAWMNG_HDL hdl); | void drawmng_release(DRAWMNG_HDL hdl); |
| CMNVRAM *drawmng_surflock(DRAWMNG_HDL hdl); | CMNVRAM *drawmng_surflock(DRAWMNG_HDL hdl); |
| Line 67 void *drawmng_get_widget_handle(DRAWMNG_ | Line 65 void *drawmng_get_widget_handle(DRAWMNG_ |
| void drawmng_make16mask(PAL16MASK *pal16, UINT32 bmask, UINT32 rmask, UINT32 gmask); | void drawmng_make16mask(PAL16MASK *pal16, UINT32 bmask, UINT32 rmask, UINT32 gmask); |
| RGB16 drawmng_makepal16(PAL16MASK *pal16, RGB32 pal32); | RGB16 drawmng_makepal16(PAL16MASK *pal16, RGB32 pal32); |
| #ifdef __cplusplus | G_END_DECLS |
| } | |
| #endif | |
| #endif /* NP2_X11_DRAWMNG_H__ */ | #endif /* NP2_X11_DRAWMNG_H__ */ |