diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-14 09:27:41 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-14 09:27:41 +0200 |
| commit | 0f6cbd1cda76e3304880dbaa82cc5f7a6b0ac833 (patch) | |
| tree | e22e7ef2a66dedbd91683f0e8ec4202df11791b5 /FL/Fl_Gl_Window.H | |
| parent | a65d7818bee5f1e3cb4c8b06faf63dc24d53f253 (diff) | |
Doxygen: rewording for more clarity.
Diffstat (limited to 'FL/Fl_Gl_Window.H')
| -rw-r--r-- | FL/Fl_Gl_Window.H | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 1d3feec7b..1369b58e8 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -209,9 +209,9 @@ public: /** Gives the window width in OpenGL pixels. When an Fl_Gl_Window is mapped to a HighDPI display, the value given by Fl_Gl_Window::w() which is expressed in FLTK units, may differ from the window width in pixels. - Calls to OpenGL functions expecting pixel values (e.g., glViewport) must therefore - use this method rather than method w(). - This method detects when the GUI is rescaled or when the window has been moved + Calls to OpenGL functions expecting pixel values (\em e.g., \c glViewport) should therefore + use pixel_w() rather than w(). + Method pixel_w() detects when the GUI is rescaled or when the window has been moved between low and high resolution displays and automatically adjusts the returned value. \version 1.3.4 */ @@ -219,9 +219,9 @@ public: /** Gives the window height in OpenGL pixels. When an Fl_Gl_Window is mapped to a HighDPI display, the value given by Fl_Gl_Window::h() which is expressed in FLTK units, may differ from the window height in pixels. - Calls to OpenGL functions expecting pixel values (e.g., glViewport) must therefore - use this method rather than method h(). - This method detects when the GUI is rescaled or when the window has been moved + Calls to OpenGL functions expecting pixel values (\em e.g., \c glViewport) should therefore + use pixel_h() rather than h(). + Method pixel_h() detects when the GUI is rescaled or when the window has been moved between low and high resolution displays and automatically adjusts the returned value. \version 1.3.4 */ |
