diff options
Diffstat (limited to 'sprite.h')
-rw-r--r-- | sprite.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,6 +1,13 @@ #pragma once -struct Sprite{ +#include <FL/Fl_PNG_Image.H> + + +class Sprite{ +public: const unsigned char *image; unsigned int image_len; + Fl_PNG_Image *fl_image; + + Sprite(const unsigned char *image,unsigned int image_len); }; |