mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 21:25:30 +08:00
Correct use of Fl_Window::no_fullscreen_w|h private variables.
These variables store the size of a window to be used when it's un-fullscreened or un-maximized. They equal 0 when a window is neither fullscreen nor maximized. They are given a meaningful value when a window is turned fullscreen or maximized. They are reset to 0 just after the window is un-fullscreened or un-maximized.
This commit is contained in:
+2
-2
@@ -58,8 +58,8 @@ void Fl_Window::_Fl_Window() {
|
||||
minw_ = maxw_ = minh_ = maxh_ = 0;
|
||||
no_fullscreen_x = 0;
|
||||
no_fullscreen_y = 0;
|
||||
no_fullscreen_w = w();
|
||||
no_fullscreen_h = h();
|
||||
no_fullscreen_w = 0;
|
||||
no_fullscreen_h = 0;
|
||||
fullscreen_screen_top = -1;
|
||||
fullscreen_screen_bottom = -1;
|
||||
fullscreen_screen_left = -1;
|
||||
|
||||
Reference in New Issue
Block a user