Allow calling Fl_Window::decorated_w() with const Fl_Window object and also for decorated_h.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2017-06-16 09:29:54 +00:00
parent e14c387e8e
commit 24b40a2e47
1 changed files with 4 additions and 3 deletions

View File

@ -519,15 +519,16 @@ public:
Same as w() if applied to a subwindow.
*/
int decorated_w();
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.
*/
int decorated_h();
int decorated_h() const;
Fl_Window_Driver *driver() { return pWindowDriver; }
Fl_Window_Driver *driver() const { return pWindowDriver; }
// Note: Doxygen docs in Fl_Widget.H to avoid redundancy.
virtual Fl_Window* as_window() { return this; }