#define _PROPHND_H_
-class wxXmlNode;
-class wxList;
-class wxListCtrl;
-class wxPanel;
-class wxWindow;
+class WXDLLEXPORT wxXmlNode;
+class WXDLLEXPORT wxList;
+class WXDLLEXPORT wxListCtrl;
+class WXDLLEXPORT wxPanel;
+class WXDLLEXPORT wxWindow;
#include "wx/xml/xml.h"
#include "wx/dynarray.h"
+/* ADD NEW PROPERTY TYPES HERE
+ (search for other occurences of this comment in _all_ files) */
enum PropertyType
{
PROP_TEXT = 0,
PROP_COLOR = 2,
PROP_BOOL = 3,
PROP_INTEGER = 4,
- PROP_COORD = 5
+ PROP_COORD = 5,
+ PROP_DIMENSION = 6,
+ PROP_NOT_IMPLEMENTED = 7,
};
-#define PROP_TYPES_CNT 6
+#define PROP_TYPES_CNT 8
class PropertyInfo
{
};
+class DimensionPropertyHandler : public PropertyHandler
+{
+ public:
+ DimensionPropertyHandler() {}
+ virtual wxPanel *CreateEditPanel(wxWindow *parent, PropsListInfo *pli);
+};
+
+
class BoolPropertyHandler : public PropertyHandler
{
public:
};
+
+class NotImplPropertyHandler : public PropertyHandler
+{
+ public:
+ NotImplPropertyHandler() {}
+ virtual wxPanel *CreateEditPanel(wxWindow *parent, PropsListInfo *pli);
+};
+
+
#endif