summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-24 06:19:10 +0000
committerManolo Gouy <Manolo>2016-03-24 06:19:10 +0000
commit1778ee8831c00599b31390b61e687bd6b06bcb19 (patch)
tree42a53f4eddca1ac923f67130d2e9f1960767a5e5 /FL
parent6e141d14dfe367098d233a99d55221f357cbb684 (diff)
Fix the implementation of Fl_Window::default_icons(const Fl_RGB_Image *icons[], int count) under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window_Driver.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H
index b6c8d3f01..b3d0baaff 100644
--- a/FL/Fl_Window_Driver.H
+++ b/FL/Fl_Window_Driver.H
@@ -29,7 +29,6 @@
#include <stdlib.h>
-
class Fl_X;
class Fl_Image;
class Fl_Shared_Image;
@@ -132,6 +131,8 @@ public:
virtual const void *icon() const {return NULL;} // TODO: check
virtual void icon(const void * ic) {} // TODO: check
virtual void free_icons() {} // TODO: check
+ // each platform implements this its own way
+ static void default_icons(const Fl_RGB_Image *icons[], int count);
// --- window printing helper
virtual void capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Shared_Image*& left, Fl_Shared_Image*& bottom, Fl_Shared_Image*& right);