From f1ef3c10477609be6bea13f7e49d137631fa9297 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 28 Sep 2009 14:41:43 +0000 Subject: 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 --- FL/Fl_Menu_Window.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'FL/Fl_Menu_Window.H') 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. -- cgit v1.2.3