diff options
| author | Manolo Gouy <Manolo> | 2016-02-12 16:17:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-12 16:17:40 +0000 |
| commit | bf7c25a1d72b28b6b19a1ac54492be539cb75552 (patch) | |
| tree | 888b711d4cfad04483b553f170ef5ed933444b29 /FL | |
| parent | bc83464b642caad491c70e3b54677dd50f6324b2 (diff) | |
Add Fl_Shared_Image *Fl_Image_Surface::highres_image() to draw into high-resolution bitmap.
Also, change arguments of void Fl_Window::capture_titlebar_and_borders() from
Fl_RGB_Image to F_Shared_Image so, in the future, scaled images having
a drawing size distinct from a pixel size can be returned, to support
high-resolution displays.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Window.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index a97b371c4..dc8a1579a 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -35,6 +35,7 @@ class Fl_X; class Fl_RGB_Image; +class Fl_Shared_Image; /** @@ -97,7 +98,7 @@ class FL_EXPORT Fl_Window : public Fl_Group { // 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); + void capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_Shared_Image*& left, Fl_Shared_Image*& bottom, Fl_Shared_Image*& right); protected: /** Data supporting a non-rectangular window shape */ |
