]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/puList.hxx
Melchior: Make line wrapping in textboxes configurable, and enable it by default
[flightgear.git] / src / GUI / puList.hxx
index 64489b8106717fe0eaf7eda29635bc34afd59836..b33e45f62033213bc03f52360f96dd559ce1e097 100644 (file)
@@ -7,9 +7,10 @@
 #  include <config.h>
 #endif
 
-#include <Main/fg_os.hxx> // To set toolkit for pu.h
 #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.
@@ -25,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);