]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/menubar.hxx
replace depreciated plib symbols with their new forms
[flightgear.git] / src / GUI / menubar.hxx
index 52e82ac0488470a8c850ca83b961356dc65851db..6c7217786f207719af39158f01b70af18b800813 100644 (file)
@@ -54,7 +54,6 @@ public:
      * Initialize the menu bar from $FG_ROOT/gui/menubar.xml
      */
     virtual void init ();
-
     
     /**
      * Make the menu bar visible.
@@ -85,10 +84,22 @@ public:
     virtual void fireItem (puObject * item);
 
 
+    /**
+     * create a menubar based on a PropertyList within the PropertyTree
+     */
+    void make_menubar (const SGPropertyNode * props);
+
+
+    /**
+     * destroy a menubar based on a PropertyList within the PropertyTree
+     */
+    void destroy_menubar ();
+
+
 private:
 
     // Make a single menu.
-    void make_menu (SGPropertyNode_ptr node);
+    void make_menu (SGPropertyNode * node);
 
     // Make the top-level menubar.
     void make_menubar ();