diff options
| author | Manolo Gouy <Manolo> | 2012-04-09 09:12:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2012-04-09 09:12:34 +0000 |
| commit | 60d448d15039b8af651ffa1f93d31b6f4d99d2c5 (patch) | |
| tree | 507560bbaff342a22b8352b54d590ba5b3881ba9 | |
| parent | 91ce609fc7e3b9f32359910f8c374f921f881d17 (diff) | |
Removed Fl_Widget::is_fullscreen() that is just another name for Fl_Window::fullscreen_active()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl_Widget.H | 5 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 2e08cb891..27e6801c2 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -687,11 +687,6 @@ public: */ void clear_visible() {flags_ |= INVISIBLE;} - /** Returns whether the widget is in full screen mode - \retval non 0 if in full screen mode - */ - unsigned int is_fullscreen() const {return (flags_ & FULLSCREEN);} - /** Returns whether the widget is active. \retval 0 if the widget is inactive \see active_r(), activate(), deactivate() diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 864a3148a..18a34dd05 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1316,7 +1316,7 @@ int Fl_X::fake_X_wm(const Fl_Window* w,int &X,int &Y, int &bt,int &bx, int &by) X+=xoff; Y+=yoff; - if (w->is_fullscreen()) { + if (w->fullscreen_active()) { X = Y = 0; bx = by = bt = 0; } @@ -1628,7 +1628,7 @@ Fl_X* Fl_X::make(Fl_Window* w) { ); if (lab) free(lab); - if (w->is_fullscreen()) { + if (w->fullscreen_active()) { /* We need to make sure that the fullscreen is created on the default monitor, ie the desktop where the shortcut is located etc. This requires that CreateWindow is called with CW_USEDEFAULT |
