FLTK logo

[master] dcea1da - More detailed doc of Fl_Window::decorated_w() and decorated_h().

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] dcea1da - More detailed doc of Fl_Window::decorated_w() and decorated_h(). "ManoloFLTK" Sep 09, 2020  
 
commit dcea1dafe1f433c7d96ca6353982dd94260346ae
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Sep 9 18:00:24 2020 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Sep 9 18:00:24 2020 +0200

    More detailed doc of Fl_Window::decorated_w() and decorated_h().

 FL/Fl_Window.H | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git FL/Fl_Window.H FL/Fl_Window.H
index 3798885..9c83d7b 100644
--- FL/Fl_Window.H
+++ FL/Fl_Window.H
@@ -512,14 +512,14 @@ public:
 
   /** Returns the window width including any frame added by the window manager.
 
-   Same as w() if applied to a subwindow.
+   Same as w() if applied to a subwindow, or if window is not yet mapped.
    */
   int decorated_w() const;
 
   /** Returns the window height including any window title bar and any frame
    added by the window manager.
 
-   Same as h() if applied to a subwindow.
+   Same as h() if applied to a subwindow, or if window is not yet mapped.
    */
   int decorated_h() const;
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.