From 9ff339332cbc7fa035e159d395b4bf4935173bd6 Mon Sep 17 00:00:00 2001 From: mfranz Date: Mon, 22 May 2006 14:35:39 +0000 Subject: [PATCH] make new widget available as --- src/GUI/dialog.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index 4dcb8af45..bcd07aebf 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -13,6 +13,7 @@ #include "new_gui.hxx" #include "AirportList.hxx" +#include "property_list.hxx" #include "layout.hxx" //////////////////////////////////////////////////////////////////////// @@ -558,6 +559,14 @@ FGDialog::makeObject (SGPropertyNode * props, int parentWidth, int parentHeight) setColor(obj, props); return obj; + } else if (type == "property-list") { + PropertyList * obj = new PropertyList(x, y, x + width, y + height, globals->get_props()); + if (presetSize) + obj->setSize(width, height); + setupObject(obj, props); + setColor(obj, props); + return obj; + } else if (type == "input") { puInput * obj = new puInput(x, y, x + width, y + height); setupObject(obj, props); -- 2.39.5