X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d2f75071fc2a29ec10abe97c5a908bb35f30f4..bebb14d53dc0efbf04e57934a70ae39e10819d96:/contrib/utils/wxrcedit/prophnd.h diff --git a/contrib/utils/wxrcedit/prophnd.h b/contrib/utils/wxrcedit/prophnd.h index 09c2fd0761..a130110f83 100644 --- a/contrib/utils/wxrcedit/prophnd.h +++ b/contrib/utils/wxrcedit/prophnd.h @@ -15,15 +15,17 @@ #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, @@ -31,9 +33,11 @@ enum PropertyType 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 { @@ -96,6 +100,14 @@ class CoordPropertyHandler : public PropertyHandler }; +class DimensionPropertyHandler : public PropertyHandler +{ + public: + DimensionPropertyHandler() {} + virtual wxPanel *CreateEditPanel(wxWindow *parent, PropsListInfo *pli); +}; + + class BoolPropertyHandler : public PropertyHandler { public: @@ -113,4 +125,13 @@ class FlagsPropertyHandler : public PropertyHandler }; + +class NotImplPropertyHandler : public PropertyHandler +{ + public: + NotImplPropertyHandler() {} + virtual wxPanel *CreateEditPanel(wxWindow *parent, PropsListInfo *pli); +}; + + #endif