Author: manolo
Date: 2012-04-09 02:17:27 -0700 (Mon, 09 Apr 2012)
New Revision: 9332
Log:
Removed fltk3::Widget::is_fullscreen() that is just another name for
fltk3::Window::fullscreen_active()
Modified:
branches/branch-3.0/include/fltk3/Widget.h
branches/branch-3.0/src/fltk3/win32.cxx
Modified: branches/branch-3.0/include/fltk3/Widget.h
===================================================================
--- branches/branch-3.0/include/fltk3/Widget.h 2012-04-09 09:12:34 UTC (rev
9331)
+++ branches/branch-3.0/include/fltk3/Widget.h 2012-04-09 09:17:27 UTC (rev
9332)
@@ -727,11 +727,6 @@
*/
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()
Modified: branches/branch-3.0/src/fltk3/win32.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/win32.cxx 2012-04-09 09:12:34 UTC (rev
9331)
+++ branches/branch-3.0/src/fltk3/win32.cxx 2012-04-09 09:17:27 UTC (rev
9332)
@@ -1326,7 +1326,7 @@
X+=xoff;
Y+=yoff;
- if (w->is_fullscreen()) {
+ if (w->fullscreen_active()) {
X = Y = 0;
bx = by = bt = 0;
}
@@ -1637,7 +1637,7 @@
);
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
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit