summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Device_Plugin.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-03-24 10:24:37 +0000
committerManolo Gouy <Manolo>2010-03-24 10:24:37 +0000
commitd305d7078bf146dfebff8ca137ae8a9e26d0fc2e (patch)
treef554e0cdedfcaf0219dc2b91a14a1fef74092d20 /src/Fl_Gl_Device_Plugin.cxx
parent369366f2aefdfdc330be72847273636de4876562 (diff)
Fixed all Doxygen warnings triggered by new Fl_Device and Fl_Printer classes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Device_Plugin.cxx')
-rw-r--r--src/Fl_Gl_Device_Plugin.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Fl_Gl_Device_Plugin.cxx b/src/Fl_Gl_Device_Plugin.cxx
index f77ceeb00..53fc5afad 100644
--- a/src/Fl_Gl_Device_Plugin.cxx
+++ b/src/Fl_Gl_Device_Plugin.cxx
@@ -128,7 +128,13 @@ static void print_gl_window(Fl_Abstract_Printer *printer, Fl_Gl_Window *glw, int
class Fl_Gl_Device_Plugin : public Fl_Device_Plugin {
public:
Fl_Gl_Device_Plugin() : Fl_Device_Plugin(name()) { }
+ /** \brief Returns the plugin name */
virtual const char *name() { return "opengl.device.fltk.org"; }
+ /** \brief Prints a widget
+ \param p the printer
+ \param w the widget
+ \param x,y offsets where to print relatively to coordinates origin
+ */
virtual int print(Fl_Abstract_Printer *p, Fl_Widget *w, int x, int y) {
Fl_Gl_Window *glw = w->as_gl_window();
if (!glw) return 0;