Fix Doxygen docs of new method Fl_Gl_Window::pixels_per_unit().
Moved the docs up (before #ifdef ...) so they are also generated on Mac OS X platforms. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
22af09dae7
commit
8a826c257d
@ -229,9 +229,6 @@ public:
|
||||
// Note: Doxygen docs in Fl_Widget.H to avoid redundancy.
|
||||
virtual Fl_Gl_Window* as_gl_window() {return this;}
|
||||
|
||||
#ifdef __APPLE__
|
||||
int pixels_per_unit();
|
||||
#else
|
||||
/** The number of pixels per FLTK unit of length for the window.
|
||||
Returns 1, except for a window mapped to
|
||||
an Apple 'retina' display, and if Fl::use_high_res_GL(bool) is set to true,
|
||||
@ -241,6 +238,9 @@ public:
|
||||
Fl::event_y() to the pixel units used by the OpenGL source code.
|
||||
\version 1.3.4
|
||||
*/
|
||||
#ifdef __APPLE__
|
||||
int pixels_per_unit();
|
||||
#else
|
||||
int pixels_per_unit() { return 1; }
|
||||
#endif
|
||||
/** Gives the window width in OpenGL pixels.
|
||||
|
Loading…
Reference in New Issue
Block a user