source: NonGTP/FLTK/include/fltk/MenuWindow.h @ 773

Revision 773, 1.5 KB checked in by gumbau, 19 years ago (diff)

FLTK imported to SVN repository to be linked agains the GeoTool? application

Line 
1// "$Id: MenuWindow.h 4044 2005-02-16 07:26:40Z spitzak $"
2//
3// Copyright 1998-2005 by Bill Spitzak and others.
4//
5// This library is free software; you can redistribute it and/or
6// modify it under the terms of the GNU Library General Public
7// License as published by the Free Software Foundation; either
8// version 2 of the License, or (at your option) any later version.
9//
10// This library is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13// Library General Public License for more details.
14//
15// You should have received a copy of the GNU Library General Public
16// License along with this library; if not, write to the Free Software
17// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18// USA.
19//
20// Please report all bugs and problems to "fltk-bugs@fltk.org".
21
22#ifndef fltk_MenuWindow_h
23#define fltk_MenuWindow_h
24
25#include "Window.h"
26
27namespace fltk {
28
29class FL_API MenuWindow : public Window {
30  enum {NO_OVERLAY = 0x08000000};
31
32public:
33
34  virtual void create();
35  virtual void flush();
36  virtual void destroy();
37
38  static NamedStyle* default_style;
39
40  int overlay() {return !(flags()&NO_OVERLAY);}
41  void set_overlay() {clear_flag(NO_OVERLAY);}
42  void clear_overlay() {set_flag(NO_OVERLAY);}
43  ~MenuWindow();
44  MenuWindow(int W, int H, const char *l = 0);
45  MenuWindow(int X, int Y, int W, int H, const char *l = 0);
46
47};
48
49}
50
51#endif
52
53//
54// End of "$Id: MenuWindow.h 4044 2005-02-16 07:26:40Z spitzak $".
55//
Note: See TracBrowser for help on using the repository browser.