summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/Fl_Gl_Device_Plugin.cxx6
-rw-r--r--src/Fl_PS_Printer.cxx6
-rw-r--r--src/ps_image.cxx3
3 files changed, 13 insertions, 2 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;
diff --git a/src/Fl_PS_Printer.cxx b/src/Fl_PS_Printer.cxx
index cdc3545a4..6392108c7 100644
--- a/src/Fl_PS_Printer.cxx
+++ b/src/Fl_PS_Printer.cxx
@@ -25,6 +25,8 @@
// http://www.fltk.org/str.php
//
+#ifndef FL_DOXYGEN
+
#include <FL/Fl_PSfile_Device.H>
#include <FL/Fl.H>
@@ -1323,7 +1325,9 @@ void print_cb(Fl_Return_Button *, void *) {
}
*/
-#endif
+#endif // ! (defined(__APPLE__) || defined(WIN32) )
+
+#endif // FL_DOXYGEN
//
// End of "$Id$".
diff --git a/src/ps_image.cxx b/src/ps_image.cxx
index 4ebdb1051..67d46b070 100644
--- a/src/ps_image.cxx
+++ b/src/ps_image.cxx
@@ -23,7 +23,7 @@
// Please report all bugs and problems to "fltk-bugs@fltk.org".
//
-
+#ifndef FL_DOXYGEN
#include <stdio.h>
#include <math.h>
@@ -534,6 +534,7 @@ void Fl_PSfile_Device::draw(Fl_Bitmap * bitmap,int XP, int YP, int WP, int HP, i
pop_clip();
};
+#endif // FL_DOXYGEN
//
// End of "$Id: image.cxx 4324 2005-05-09 21:47:22Z rokan $"