diff options
| author | Matthias Melcher <git@matthiasm.com> | 2020-01-03 21:10:00 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2020-01-03 21:10:00 +0100 |
| commit | 86893a90cba24137d3788a07afab22e74ad3d7ab (patch) | |
| tree | df0499c0fa492bfdec3238f41726e7f6d9299761 /FL/Fl_BMP_Image.H | |
| parent | 462b681679d6c78b695c5394c21b5140b4fb7bd2 (diff) | |
Added code to read BMP files from memory (GitHub issue #33, 1/2)
Diffstat (limited to 'FL/Fl_BMP_Image.H')
| -rw-r--r-- | FL/Fl_BMP_Image.H | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/FL/Fl_BMP_Image.H b/FL/Fl_BMP_Image.H index 5f0c30118..93ac32610 100644 --- a/FL/Fl_BMP_Image.H +++ b/FL/Fl_BMP_Image.H @@ -31,7 +31,13 @@ class FL_EXPORT Fl_BMP_Image : public Fl_RGB_Image { public: - Fl_BMP_Image(const char* filename); + Fl_BMP_Image(const char* filename); + Fl_BMP_Image(const char* filename, const unsigned char *data); + + protected: + + void read(class BMPReader &rdr); + }; #endif |
