diff options
| -rw-r--r-- | FL/Fl.H | 2 | ||||
| -rw-r--r-- | FL/Fl_Gl_Window.H | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -1212,11 +1212,13 @@ public: /** sets whether GL windows should be drawn at high resolution on Apple computers with retina displays + \version 1.3.4 */ static void use_high_res_GL(int val) { use_high_res_GL_ = val; } /** returns whether GL windows should be drawn at high resolution on Apple computers with retina displays. Default is no. + \version 1.3.4 */ static int use_high_res_GL() { return use_high_res_GL_; } diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index b701e047e..439cc48ed 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -210,12 +210,14 @@ public: Generally identical with the result of the w() function, but on macintosh computers with a 'retina' display, and if Fl::use_high_res_GL(bool) is set to true, pixel_w() returns 2 * w(). + \version 1.3.4 */ int pixel_w() { return w(); } /** Gives the window height in OpenGL pixels. Generally identical with the result of the h() function, but on macintosh computers with a 'retina' display, and if Fl::use_high_res_GL(bool) is set to true, pixel_h() returns 2 * h(). + \version 1.3.4 */ int pixel_h() { return h(); } #endif |
