#include STL_STRING
#include <plib/pu.h>
+#include "dialog.hxx"
-// ugly temproary workaround for plib's lack of user defined class ids FIXME
-#define FGCLASS_LIST 0x00000001
-#define FGCLASS_AIRPORTLIST 0x00000002
-class GUI_ID { public: GUI_ID(int id) : id(id) {} int id; };
-
-
-#include "puList.hxx"
-
SG_USING_STD(string);
class FGAirportList;
#include "property_list.hxx"
#include "layout.hxx"
+
+
+
////////////////////////////////////////////////////////////////////////
// Implementation of GUIInfo.
////////////////////////////////////////////////////////////////////////
#include <vector>
SG_USING_STD(vector);
-#include "AirportList.hxx"
+
+// ugly temproary workaround for plib's lack of user defined class ids FIXME
+#define FGCLASS_LIST 0x00000001
+#define FGCLASS_AIRPORTLIST 0x00000002
+#define FGCLASS_PROPERTYLIST 0x00000004
+class GUI_ID { public: GUI_ID(int id) : id(id) {} int id; };
+
class FGDialog;
PropertyList::PropertyList(int minx, int miny, int maxx, int maxy, SGPropertyNode *start) :
puList(minx, miny, maxx, maxy, short(0), 20),
+ GUI_ID(FGCLASS_PROPERTYLIST),
_curr(start),
_flags(fgGetNode("/sim/gui/dialogs/property-browser/show-flags", true)),
_return(0),
#include <plib/pu.h>
#include <simgear/props/props.hxx>
+#include "dialog.hxx"
#include "puList.hxx"
-
-class PropertyList : public puList, public SGPropertyChangeListener {
+class PropertyList : public puList, public SGPropertyChangeListener, public GUI_ID {
public:
PropertyList(int minx, int miny, int maxx, int maxy, SGPropertyNode *);
~PropertyList();