/* Public domain */ #ifndef _AGAR_ICONMGR_H_ #define _AGAR_ICONMGR_H_ #include /* Description of icon stored in data segment. */ typedef struct ag_static_icon { Uint w, h; /* Dimensions in pixels */ Uint32 Rmask; /* Red mask */ Uint32 Gmask; /* Green mask */ Uint32 Bmask; /* Blue mask */ Uint32 Amask; /* Alpha mask */ const Uint32 *data; /* Pixel data */ AG_Surface *s; /* Initialized surface */ } AG_StaticIcon; __BEGIN_DECLS void AG_InitStaticIcon(AG_StaticIcon *); AG_Surface *AG_ObjectIcon(void *); __END_DECLS #include #endif /* _AGAR_ICONMGR_H_ */