diff options
| author | Manolo Gouy <Manolo> | 2017-06-16 09:29:54 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-06-16 09:29:54 +0000 |
| commit | 24b40a2e4736cd009494a405189d366f8ee6d2c9 (patch) | |
| tree | 446a55c5f6cbc13d784a0b73b870dd0b74ed7658 /FL | |
| parent | e14c387e8e69024a16db110ec5b1a9a08a5a6169 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Window.H | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 391ac3212..a8dc2c84a 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -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; } |
