FLTK 1.3.4
Fl_Menu_Bar.H
1 //
2 // "$Id: Fl_Menu_Bar.H 11801 2016-07-09 17:06:46Z AlbrechtS $"
3 //
4 // Menu bar header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2016 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file. If this
10 // file is missing or damaged, see the license at:
11 //
12 // http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 // http://www.fltk.org/str.php
17 //
18 
19 /* \file
20  Fl_Menu_Bar widget . */
21 
22 #ifndef Fl_Menu_Bar_H
23 #define Fl_Menu_Bar_H
24 
25 #include "Fl_Menu_.H"
26 
67 class FL_EXPORT Fl_Menu_Bar : public Fl_Menu_ {
68 protected:
69  void draw();
70 public:
71  int handle(int);
90  Fl_Menu_Bar(int X, int Y, int W, int H, const char *l=0);
91 };
92 
93 #endif
94 
95 //
96 // End of "$Id: Fl_Menu_Bar.H 11801 2016-07-09 17:06:46Z AlbrechtS $".
97 //
virtual int handle(int event)
Handles the specified event.
Definition: Fl_Widget.cxx:112
virtual void draw()=0
Draws the widget.
This widget provides a standard menubar interface.
Definition: Fl_Menu_Bar.H:67
Base class of all widgets that have a menu in FLTK.
Definition: Fl_Menu_.H:51