00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _FL_BITMAP_H_
00023 #define _FL_BITMAP_H_
00024
00025 #include "Fl_Image.h"
00026
00028 class FL_API Fl_Bitmap : public Fl_Image {
00029 public:
00030 Fl_Bitmap(const uint8 *bits, int W, int H, bool allow_free=false) : Fl_Image(W, H, 1, (uint8*)bits, allow_free) { }
00031 Fl_Bitmap(const char *bits, int W, int H, bool allow_free=false) : Fl_Image(W, H, 1, (uint8*)bits, allow_free) { }
00032
00033 protected:
00034 virtual void _draw(int dx, int dy, int dw, int dh,
00035 int sx, int sy, int sw, int sh,
00036 Fl_Flags f);
00037 };
00038
00039 #endif