1 // menubar.hxx - XML-configured menu bar.
4 #define __MENUBAR_HXX 1
8 * XML-configured menu bar interface
10 * This class creates a menu bar from a tree of XML properties. These
11 * properties are not part of the main FlightGear property tree, but
12 * are read from a separate file ($FG_ROOT/gui/menubar.xml).
23 virtual ~FGMenuBar ();
27 * Initialize the menu bar from $FG_ROOT/gui/menubar.xml
29 virtual void init () = 0;
32 * Make the menu bar visible.
34 virtual void show () = 0;
38 * Make the menu bar invisible.
40 virtual void hide () = 0;
44 * Test whether the menu bar is visible.
46 virtual bool isVisible () const = 0;
50 #endif // __MENUBAR_HXX