diff options
| author | Manolo Gouy <Manolo> | 2016-03-10 22:26:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-10 22:26:40 +0000 |
| commit | 31fcd84ca990ded6b96f0e3a82adc3f38d0cdb2c (patch) | |
| tree | 13212ec1fa76ebbfb144b831df6edd669acf5d69 /FL/Fl_Window_Driver.H | |
| parent | 7098924b82110cf468d3cbdc4742bd9a2632296d (diff) | |
Rewrite all window icon-related Fl_Window API with the window driver approach.
It seems this allows not to #include <windows.h> in the public header files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Window_Driver.H')
| -rw-r--r-- | FL/Fl_Window_Driver.H | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H index 98934a3d4..2ab4bf192 100644 --- a/FL/Fl_Window_Driver.H +++ b/FL/Fl_Window_Driver.H @@ -36,8 +36,11 @@ class Fl_Image; */ class FL_EXPORT Fl_Window_Driver { friend class Fl_Window; + friend class Fl_X; protected: Fl_Window *pWindow; + struct icon_data; + icon_data *icon_; struct shape_data_type; shape_data_type *shape_data_; ///< non-null means the window has a non-rectangular shape public: @@ -55,6 +58,10 @@ public: void shape_pixmap_(Fl_Image* pixmap); virtual void shape(const Fl_Image* img) {} virtual void shape_alpha_(Fl_Image* img, int offset) {} + virtual void icons(const Fl_RGB_Image *icons[], int count) {} + virtual const void *icon() const {return NULL;} + virtual void icon(const void * ic) {} + virtual void free_icons() {} }; |
