From d9451a86696a2aa58d46cb18180c9344a5e0c179 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 2 Feb 2022 14:55:38 +0100 Subject: 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. --- src/Fl_Screen_Driver.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_Screen_Driver.H') 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 -- cgit v1.2.3