diff options
| author | Manolo Gouy <Manolo> | 2018-11-30 09:01:12 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-11-30 09:01:12 +0000 |
| commit | c33d3c6aaa15580e195a176b9803799ecc847ef6 (patch) | |
| tree | 937d8fbf8476c79353d4c7ff8ec721ffd1368a36 /FL/Fl_Device.H | |
| parent | b511f6a7a4f02cad8731c7e514f2778444a066fa (diff) | |
Remove unused arguments from the Fl_Device_Plugin::print() member function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Device.H')
| -rw-r--r-- | FL/Fl_Device.H | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index d1b96392c..de1c47485 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -118,18 +118,14 @@ public: virtual const char *klass() { return "fltk:device"; } /** \brief Returns the plugin name */ virtual const char *name() = 0; - /** \brief Prints a widget - \param w the widget - \param x,y offsets where to print relatively to coordinates origin - \param height height of the current drawing area - */ - virtual int print(Fl_Widget* w, int x, int y, int height) = 0; - /** captures a rectangle of a widget as an image + /** \brief Prints a widget */ + virtual int print(Fl_Widget* w) = 0; + /** Captures a rectangle of a widget as an image \return The captured pixels as an RGB image */ virtual Fl_RGB_Image* rectangle_capture(Fl_Widget *widget, int x, int y, int w, int h) = 0; /** Returns the window's GL context */ - virtual GLContext context(class Fl_Window *glw) = 0; + virtual GLContext context(Fl_Widget *widget) = 0; }; #endif // Fl_Device_H |
