summaryrefslogtreecommitdiff
path: root/src/Fl_Screen_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-02 14:55:38 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-02 14:55:48 +0100
commitd9451a86696a2aa58d46cb18180c9344a5e0c179 (patch)
tree8c630fc2bf313ea385bb37053228915f1860fce7 /src/Fl_Screen_Driver.H
parent895ac51c6962d3dd551aa88ecefd81c92b0b8d2b (diff)
Add platform-independent Fl_Screen_Driver::print_or_copy_window().
This member function is available for all platforms to print or copy the front window with or without its titlebar.
Diffstat (limited to 'src/Fl_Screen_Driver.H')
-rw-r--r--src/Fl_Screen_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H
index 1f6c80f98..fae5b0ff2 100644
--- a/src/Fl_Screen_Driver.H
+++ b/src/Fl_Screen_Driver.H
@@ -201,6 +201,8 @@ public:
virtual APP_SCALING_CAPABILITY rescalable() { return NO_APP_SCALING; }
// supports Fl_Window::default_icons()
virtual void default_icons(const Fl_RGB_Image *icons[], int count);
+ // this one is implemented in print_button.cxx
+ static int print_or_copy_window(Fl_Window*, bool, int);
};
#endif // !FL_SCREEN_DRIVER_H