]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/puList.hxx
replace depreciated plib symbols with their new forms
[flightgear.git] / src / GUI / puList.hxx
index 43ba4e2421189f19848eb64516b7a8742f2b6d68..b33e45f62033213bc03f52360f96dd559ce1e097 100644 (file)
@@ -3,8 +3,14 @@
 #ifndef __PULIST_HXX
 #define __PULIST_HXX 1
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <plib/pu.h>
 
+# define PUCLASS_LIST   0x80000000  // Hopefully this value will never be used by plib
+# define PUCLASS_LIST   0x80000000  // Hopefully this value will never be used by plib
 
 /**
  * A scrolling list for PUI.
@@ -20,7 +26,8 @@ class puList : public puGroup
 
     virtual void newList (char ** contents);
     // TODO: other string value funcs
-    virtual char * getStringValue ();
+    virtual char * getListStringValue ();
+    virtual int getListIntegerValue();
 
  protected:
     virtual void init (int w, int h);