From 1c3c544edf1af6884e4002f04aa28cce4a06fbec Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 28 Jan 2016 11:51:07 +0000 Subject: Added Fl_Window::capture_titlebar_and_borders a new private member function that triggers a warning when FL_PORTING is ON and with a default platform-neutral implementation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Window.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL/Fl_Window.H') diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index a8f2515e8..49b511a71 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -70,6 +70,7 @@ class FL_EXPORT Fl_Window : public Fl_Group { int fullscreen_screen_right; friend class Fl_X; + friend class Fl_Paged_Device; Fl_X *i; // points at the system-specific stuff struct icon_data { @@ -97,6 +98,8 @@ class FL_EXPORT Fl_Window : public Fl_Group { uchar size_range_set; // cursor stuff Fl_Cursor cursor_default; + // Captures the titlebar and borders of the window, if they exist. + void capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*& left, Fl_RGB_Image*& bottom, Fl_RGB_Image*& right); protected: /** Data supporting a non-rectangular window shape */ -- cgit v1.2.3