Remove function body from Fl_Widget_Surface class declaration.

This commit is contained in:
ManoloFLTK 2019-04-12 10:32:46 +02:00
parent d36e1a79c3
commit d50d0a3069
2 changed files with 5 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public:
/**
Undoes the effect of a previous translate() call.
*/
virtual void untranslate(void) {}
virtual void untranslate();
void draw(Fl_Widget* widget, int delta_x = 0, int delta_y = 0);
virtual void draw_decorated_window(Fl_Window *win, int x_offset = 0, int y_offset = 0);
void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0);

View File

@ -112,6 +112,10 @@ void Fl_Widget_Surface::translate(int x, int y)
{
}
void Fl_Widget_Surface::untranslate()
{
}
/**
\brief Computes the page coordinates of the current origin of graphics functions.