diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Image.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index 357982e63..edba4fe29 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -26,6 +26,7 @@ #include <stdlib.h> class Fl_Widget; +class Fl_Pixmap; struct Fl_Menu_Item; struct Fl_Label; @@ -203,6 +204,7 @@ public: */ Fl_RGB_Image(const uchar *bits, int W, int H, int D=3, int LD=0) : Fl_Image(W,H,D), array(bits), alloc_array(0), id_(0), mask_(0) {data((const char **)&array, 1); ld(LD);} + Fl_RGB_Image(const Fl_Pixmap *pxm, Fl_Color bg=FL_GRAY); virtual ~Fl_RGB_Image(); virtual Fl_Image *copy(int W, int H); Fl_Image *copy() { return copy(w(), h()); } |
