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
This commit is contained in:
Manolo Gouy 2012-04-09 09:12:34 +00:00
parent 91ce609fc7
commit 60d448d150
2 changed files with 2 additions and 7 deletions

View File

@ -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()

View File

@ -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