Move Doxygen comments next to member function bodies.

This commit is contained in:
ManoloFLTK 2019-04-12 10:36:02 +02:00
parent d50d0a3069
commit 1280370fc8
2 changed files with 9 additions and 9 deletions

View File

@ -34,16 +34,7 @@ protected:
int y_offset;
Fl_Widget_Surface(Fl_Graphics_Driver *d);
public:
/**
Translates the current graphics origin accounting for the current rotation.
Each translate() call must be matched by an untranslate() call.
Successive translate() calls add up their effects.
*/
virtual void translate(int x, int y);
/**
Undoes the effect of a previous translate() call.
*/
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);

View File

@ -108,10 +108,19 @@ void Fl_Widget_Surface::traverse(Fl_Widget *widget)
}
}
/**
Translates the current graphics origin accounting for the current rotation.
Each translate() call must be matched by an untranslate() call.
Successive translate() calls add up their effects.
*/
void Fl_Widget_Surface::translate(int x, int y)
{
}
/**
Undoes the effect of a previous translate() call.
*/
void Fl_Widget_Surface::untranslate()
{
}