X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ad83f6b37e3e3a0c4a6dc094cc346b45074bf6a..bebb14d53dc0efbf04e57934a70ae39e10819d96:/contrib/utils/wxrcedit/prophnd.h diff --git a/contrib/utils/wxrcedit/prophnd.h b/contrib/utils/wxrcedit/prophnd.h index b8c1b5665f..a130110f83 100644 --- a/contrib/utils/wxrcedit/prophnd.h +++ b/contrib/utils/wxrcedit/prophnd.h @@ -24,6 +24,8 @@ 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