]> git.mxchange.org Git - flightgear.git/commitdiff
backing out all changes to non-depreciated symbols/functions: plib's cvs
authormfranz <mfranz>
Sun, 6 Nov 2005 14:27:17 +0000 (14:27 +0000)
committermfranz <mfranz>
Sun, 6 Nov 2005 14:27:17 +0000 (14:27 +0000)
isn't tagged, so we can't easily say what was added after the last stable
release

src/GUI/dialog.cxx
src/GUI/dialog.hxx

index 28f60ad6129f74030fb050199b307263666d02ec..f7a38649dca9f1446bbd13faa336b6533befd967 100644 (file)
@@ -578,7 +578,7 @@ FGDialog::makeObject (SGPropertyNode * props, int parentWidth, int parentHeight)
              i < value_nodes.size();
              i++, j--)
             entries[i] = strdup((char *)value_nodes[i]->getStringValue());
-        puaComboBox * obj = new puaComboBox(x, y, x + width, y + height, entries,
+        puComboBox * obj = new puComboBox(x, y, x + width, y + height, entries,
                            props->getBoolValue("editable", false));
         setupObject(obj, props);
         setColor(obj, props, FOREGROUND|LABEL);
@@ -608,7 +608,7 @@ FGDialog::makeObject (SGPropertyNode * props, int parentWidth, int parentHeight)
         int slider_width = props->getIntValue("slider", parentHeight);
         int wrap = props->getBoolValue("wrap", true);
         if (slider_width==0) slider_width=20;
-        puaLargeInput * obj = new puaLargeInput(x, y,
+        puLargeInput * obj = new puLargeInput(x, y,
                 x+width, x+height, 2, slider_width, wrap);
 
         if (props->hasValue("editable")) {
@@ -634,8 +634,8 @@ FGDialog::makeObject (SGPropertyNode * props, int parentWidth, int parentHeight)
              i < value_nodes.size();
              i++, j--)
             entries[i] = strdup((char *)value_nodes[i]->getName());
-        puaSelectBox * obj =
-            new puaSelectBox(x, y, x + width, y + height, entries);
+        puSelectBox * obj =
+            new puSelectBox(x, y, x + width, y + height, entries);
         setupObject(obj, props);
         setColor(obj, props, FOREGROUND|LABEL);
         return obj;
index 5242c7854802fecea43293381a551b655717277d..45233497307ba163522e5d4e2293fafaf0a75dca 100644 (file)
@@ -7,7 +7,7 @@
 # error This library requires C++
 #endif
 
-#include <plib/puAux.h>
+#include <plib/pu.h>
 #include <plib/sg.h>
 
 #include <simgear/compiler.h>  // for SG_USING_STD