FLTK 1.3.0
|
00001 // 00002 // "$Id$" 00003 // 00004 // Menu window header file for the Fast Light Tool Kit (FLTK). 00005 // 00006 // Copyright 1998-2010 by Bill Spitzak and others. 00007 // 00008 // This library is free software. Distribution and use rights are outlined in 00009 // the file "COPYING" which should have been included with this file. If this 00010 // file is missing or damaged, see the license at: 00011 // 00012 // http://www.fltk.org/COPYING.php 00013 // 00014 // Please report all bugs and problems on the following page: 00015 // 00016 // http://www.fltk.org/str.php 00017 // 00018 00019 /* \file 00020 Fl_Menu_Window widget . */ 00021 00022 #ifndef Fl_Menu_Window_H 00023 #define Fl_Menu_Window_H 00024 00025 #include "Fl_Single_Window.H" 00026 00033 class FL_EXPORT Fl_Menu_Window : public Fl_Single_Window { 00034 public: 00035 void show(); 00036 void erase(); 00037 void flush(); 00038 void hide(); 00040 unsigned int overlay() {return !(flags()&NO_OVERLAY);} 00042 void set_overlay() {clear_flag(NO_OVERLAY);} 00045 void clear_overlay() {set_flag(NO_OVERLAY);} 00046 ~Fl_Menu_Window(); 00048 Fl_Menu_Window(int W, int H, const char *l = 0); 00050 Fl_Menu_Window(int X, int Y, int W, int H, const char *l = 0); 00051 }; 00052 00053 #endif 00054 00055 // 00056 // End of "$Id$". 00057 //