From a2eaf60572320f112e3e9bebb57dbe14450258f0 Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Wed, 17 Sep 2008 20:30:37 +0000 Subject: Doxygen documentation: + Added HAVE_GL,HAVE_GL_OVERLAY to Doxyfile defines + many obsolete api signature causing to be igmored by doxygen have been fixed, more to come and this is good! (we are forced to refresh these api and be up-to-date to have them documented...) + Added a Fl_Gl_Window::draw() method that raises a Fl::fatal() message if used directly. The old doc said it was a pure virtual which is not true. one can easily create a Fl_Gl_Window created, this won't work of course but is subject to trouble. Now the Fl_Gl_Window doxygenize beautifully and content is more accurate. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Gl_Window.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL/Fl_Gl_Window.H') diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 3bf95dd0f..d70094f9f 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -202,6 +202,9 @@ public: Fl_Gl_Window(int W, int H, const char *l=0) : Fl_Window(W,H,l) {init();} Fl_Gl_Window(int X, int Y, int W, int H, const char *l=0) : Fl_Window(X,Y,W,H,l) {init();} + + // you *must* override the draw method + virtual void draw(); }; #endif -- cgit v1.2.3