summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-12 10:36:02 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-12 10:36:02 +0200
commit1280370fc8b4e08d0eab8b02608c2eade6096be4 (patch)
treec1ff44e6fec4b370b22bb74b32bb44533121d511
parentd50d0a30697346d45c01751eea320759816a4424 (diff)
Move Doxygen comments next to member function bodies.
-rw-r--r--FL/Fl_Widget_Surface.H9
-rw-r--r--src/Fl_Widget_Surface.cxx9
2 files changed, 9 insertions, 9 deletions
diff --git a/FL/Fl_Widget_Surface.H b/FL/Fl_Widget_Surface.H
index e52d25a7a..94b8dbb2c 100644
--- a/FL/Fl_Widget_Surface.H
+++ b/FL/Fl_Widget_Surface.H
@@ -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);
diff --git a/src/Fl_Widget_Surface.cxx b/src/Fl_Widget_Surface.cxx
index 2845b3176..2010b52ec 100644
--- a/src/Fl_Widget_Surface.cxx
+++ b/src/Fl_Widget_Surface.cxx
@@ -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()
{
}