diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-12-30 19:20:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-30 19:20:52 +0100 |
| commit | 2c5a5ce948a47d067659f4745039af44ede5829b (patch) | |
| tree | 0535614a09c741a1f3ef7bd303485f2cfa5acd0c /fluid/Fluid_Image.h | |
| parent | 44c874b731f9f58c2f50c3c6076371058cbe26e3 (diff) | |
FLUID support for inline image data (see #542, #592) (#604)
Diffstat (limited to 'fluid/Fluid_Image.h')
| -rw-r--r-- | fluid/Fluid_Image.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fluid/Fluid_Image.h b/fluid/Fluid_Image.h index 738789223..705495b65 100644 --- a/fluid/Fluid_Image.h +++ b/fluid/Fluid_Image.h @@ -31,6 +31,9 @@ class Fluid_Image { protected: Fluid_Image(const char *name); // no public constructor ~Fluid_Image(); // no public destructor + size_t write_static_binary(); + size_t write_static_text(); + void write_static_rgb(const char* idata_name); public: int written; static Fluid_Image* find(const char *); @@ -38,7 +41,7 @@ public: void increment(); void image(Fl_Widget *); // set the image of this widget void deimage(Fl_Widget *); // set the deimage of this widget - void write_static(); + void write_static(int compressed); void write_initializer(const char *type_name, const char *format, ...); void write_code(int bind, const char *var, int inactive = 0); void write_inline(int inactive = 0); |
