diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2009-09-28 14:41:43 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2009-09-28 14:41:43 +0000 |
| commit | f1ef3c10477609be6bea13f7e49d137631fa9297 (patch) | |
| tree | 0999ce101360b38ab5ac10fa9eb12b695475b5b8 /FL/Fl_Menu_Window.H | |
| parent | e283dfe91cc93d7ef7e8bb8bfe0d2997065a4612 (diff) | |
Added missing NO_OVERLAY flag form Fl_Menu_Window (part 2)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Menu_Window.H')
| -rw-r--r-- | FL/Fl_Menu_Window.H | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FL/Fl_Menu_Window.H b/FL/Fl_Menu_Window.H index f56fe3ea8..891691b20 100644 --- a/FL/Fl_Menu_Window.H +++ b/FL/Fl_Menu_Window.H @@ -40,14 +40,13 @@ redraw. */ class FL_EXPORT Fl_Menu_Window : public Fl_Single_Window { - enum {NO_OVERLAY = 128}; public: void show(); void erase(); void flush(); void hide(); /** Tells if hardware overlay mode is set */ - int overlay() {return !(flags()&NO_OVERLAY);} + unsigned int overlay() {return !(flags()&NO_OVERLAY);} /** Tells FLTK to use hardware overlay planes if they are available. */ void set_overlay() {clear_flag(NO_OVERLAY);} /** Tells FLTK to use normal drawing planes instead of overlay planes. |
