X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6b0af42a0d7281a1403f0a4a6e52a43042c405c..bebb14d53dc0efbf04e57934a70ae39e10819d96:/contrib/utils/wxrcedit/prophnd.h diff --git a/contrib/utils/wxrcedit/prophnd.h b/contrib/utils/wxrcedit/prophnd.h index fcc725eaf0..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, @@ -32,9 +34,10 @@ enum PropertyType PROP_BOOL = 3, PROP_INTEGER = 4, PROP_COORD = 5, - PROP_NOT_IMPLEMENTED = 6, + PROP_DIMENSION = 6, + PROP_NOT_IMPLEMENTED = 7, }; -#define PROP_TYPES_CNT 7 +#define PROP_TYPES_CNT 8 class PropertyInfo { @@ -97,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: