diff options
| author | Manolo Gouy <Manolo> | 2016-03-11 07:07:42 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-11 07:07:42 +0000 |
| commit | 2952c530b856c5cca973fef34edc5d738fb8c0f7 (patch) | |
| tree | 2bd14373989d6e0a915c84c3ec8b0a26f831be66 /FL | |
| parent | 914248bbf04675f2e8096dadae4ffa35e6982293 (diff) | |
Rewrite capture of window decorations using the window driver approach.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Window.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Window_Driver.H | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 2888b85fc..e1b0ee479 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -580,8 +580,6 @@ public: */ int decorated_h(); - // Captures the titlebar and borders of the window, if they exist. - void capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Shared_Image*& left, Fl_Shared_Image*& bottom, Fl_Shared_Image*& right); Fl_Window_Driver *driver() { return pWindowDriver; } /** diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H index d36774535..629d7ad86 100644 --- a/FL/Fl_Window_Driver.H +++ b/FL/Fl_Window_Driver.H @@ -30,7 +30,7 @@ class Fl_Window; class Fl_X; class Fl_Image; - +class Fl_Shared_Image; /** \brief A base class for platform specific window handling code. @@ -63,6 +63,7 @@ public: virtual const void *icon() const {return NULL;} virtual void icon(const void * ic) {} virtual void free_icons() {} + virtual void capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Shared_Image*& left, Fl_Shared_Image*& bottom, Fl_Shared_Image*& right); }; |
