diff options
| author | Manolo Gouy <Manolo> | 2011-09-30 08:03:22 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-09-30 08:03:22 +0000 |
| commit | c029bba113a2a28d858ac6d25607ccb870a6928a (patch) | |
| tree | 13b49313aa24bba2415161c4cd4161436f51214e /FL | |
| parent | 9f9c16ac16e14a3a94fe3aef363f549cd4c6b3bf (diff) | |
Fix STR#2600 for the MSWindow and Mac OS platforms.
A new event FL_SCREEN_CONFIGURATION_CHANGED is introduced.
Fl::add_handler() allows to register a callback for this event.
The unix/X11 implementation is still missing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 3a34f47a6..7ad8c531c 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -283,7 +283,11 @@ enum Fl_Event { // events If the widget returns 1, it will receive the data in the immediately following FL_PASTE event. */ - FL_DND_RELEASE = 23 + FL_DND_RELEASE = 23, + /** The screen configuration (number, positions) was changed. + Use Fl::add_handler() to be notified of this event. + */ + FL_SCREEN_CONFIGURATION_CHANGED = 24 }; /** \name When Conditions */ |
