From 08ce2e07d379d6b9925208b5da9323f948b634db Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 23 Mar 2012 16:47:53 +0000 Subject: Fix STR#2641: true fullscreen windows that cover all their screen including menu bar, task bar, dock. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/src/enumerations.dox | 4 +++- documentation/src/events.dox | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'documentation/src') diff --git a/documentation/src/enumerations.dox b/documentation/src/enumerations.dox index 022ce431d..47a147f12 100644 --- a/documentation/src/enumerations.dox +++ b/documentation/src/enumerations.dox @@ -27,7 +27,7 @@ The FLTK version number is stored in a number of compile-time constants: \section enumerations_events Events -Events are identified by an \p Fl_Event enumeration value. The +Events are identified by an \ref Fl_Event enumeration value. The following events are currently defined: \li FL_NO_EVENT - No event (or an event fltk does not @@ -57,6 +57,8 @@ following events are currently defined: \li FL_DND_LEAVE - The mouse pointer left a widget still dragging data. \li FL_DND_RELEASE - Dragged data is about to be dropped. +\li FL_SCREEN_CONFIGURATION_CHANGED - The screen configuration (number, positions) was changed. +\li FL_FULLSCREEN - The fullscreen state of the window has changed. \section enumerations_when Callback "When" Conditions diff --git a/documentation/src/events.dox b/documentation/src/events.dox index 2d402d2a8..3183f94eb 100644 --- a/documentation/src/events.dox +++ b/documentation/src/events.dox @@ -300,6 +300,20 @@ The user has released the mouse button dropping data into the widget. If the widget returns 1, it will receive the data in the immediately following \p FL_PASTE event. +\section events_fl_misc Other events + +\subsection events_fl_screen_config FL_SCREEN_CONFIGURATION_CHANGED +Sent whenever the screen configuration changes (a screen is added/removed, +a screen resolution is changed, screens are moved). +Use Fl::add_handler() to be notified of this event. + +\subsection events_fl_fullscreen FL_FULLSCREEN + +The application window has been changed from normal to fullscreen, or +from fullscreen to normal. If you are using a X window manager which +supports Extended Window Manager Hints, this event will not be +delivered until the change has actually happened. + \section events_event_xxx Fl::event_*() methods -- cgit v1.2.3