Defines | |
#define | WX_PG_CLASSINFO(NAME) NAME##ClassInfo |
#define | wxPG_COLOUR(R, G, B) ((wxUint32)(R+(G<<8)+(B<<16))) |
#define | wxPG_COLOUR_BLACK (*wxBLACK) |
#define | wxPG_EMPTY_ARRAYINT (*((wxArrayInt*)NULL)) |
#define | wxPG_EMPTY_ARRAYSTRING (*((wxArrayString*)NULL)) |
#define | wxPG_FLEXIBLE_SIZE(PREFWID, PREFHEI) wxSize(-(PREFWID),-(PREFHEI)) |
#define | wxPG_FULL_CUSTOM_PAINT_FLEXIBLE_SIZE(PREFHEI) wxSize(wxPG_FULL_CUSTOM_PAINT_WIDTH,-(PREFHEI)) |
#define | wxPG_FULL_CUSTOM_PAINT_SIZE(HEI) wxSize(wxPG_FULL_CUSTOM_PAINT_WIDTH,HEI) |
#define | wxPG_FULL_CUSTOM_PAINT_WIDTH -99999 |
#define | wxPG_INVALID_VALUE INT_MAX |
#define | wxPG_LABEL (*((wxString*)NULL)) |
#define | wxPG_NULL_BITMAP wxNullBitmap |
Typedefs | |
typedef void(* | wxPGPaintCallback )(wxPGProperty *property, wxDC &dc, const wxRect &rect, wxPGPaintData &paintdata) |
typedef bool(* | wxPropertyGridCallback )(wxPropertyGrid *propGrid, wxPGProperty *property, wxWindow *ctrl, int data) |
|
Use this with wxPropertyGrid::IsPropertyKindOf. For example, as in
|
|
Convert Red, Green and Blue to a single 32-bit value.
|
|
Return this in GetImageSize() to indicate that the custom painted property image is flexible. That is, it will paint (dropdown) list item images with PREFWID,PREFHEI size. |
|
Return this in GetImageSize() to indicate that the property is custom painted completely (ie. the text as well), and with flexible height. |
|
Return this in GetImageSize() to indicate that the property is custom painted completely (ie. the text as well). |
|
This callback function is used by atleast wxCustomProperty to facilitiate drawing items in drop down list. Works very much like wxPGProperty::OnCustomPaint. |
|
This callback function is used by atleast wxCustomProperty to facilitiate easy custom action on button press.
|