summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
{
}