]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/prop_picker.hxx
replace depreciated plib symbols with their new forms
[flightgear.git] / src / GUI / prop_picker.hxx
index e2c293a742721d323b9acb3d147b1aae7ac7ca39..fbbeabd346c379595acd3ec561f7de0b17c1c64b 100755 (executable)
@@ -7,6 +7,7 @@
 
 #include <stdio.h>
 #include "gui.h"
+#include "dialog.hxx"
 #include <simgear/props/props.hxx>
 
 void prop_pickerInit();
@@ -19,7 +20,7 @@ class fgPropPicker       ;
 class fgPropEdit       ;
 
 class fgPropPicker : 
-    public puDialogBox,
+    public fgPopup,
     public SGPropertyChangeListener
 {
 
@@ -61,6 +62,8 @@ protected:
   puArrowButton *down_arrow ;
   puArrowButton *up_arrow ;
 
+  NewGUI * _gui;
+
 public:
   puText    *proppath      ;
   void find_props () ;
@@ -76,7 +79,7 @@ public:
   virtual void valueChanged (SGPropertyNode * node);
 } ;
 
-class fgPropEdit : public puDialogBox
+class fgPropEdit : public fgPopup
 {
 
   static void fgPropEditHandleCancel ( puObject *b ) ;
@@ -88,6 +91,8 @@ protected:
   puOneShot *cancel_button ;
   puOneShot *ok_button     ;
 
+  NewGUI * _gui;
+
 public:
   puText    *propname     ;
   puInput   *propinput     ;