X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a98423eb038738b5c4c76c575435034ee8b7d56..50d4763f1710f6e45ac6af7112d1ce9effe93bc4:/interface/wx/imaglist.h diff --git a/interface/wx/imaglist.h b/interface/wx/imaglist.h index e0b8a2d4fe..ab2cd24a0c 100644 --- a/interface/wx/imaglist.h +++ b/interface/wx/imaglist.h @@ -3,9 +3,28 @@ // Purpose: interface of wxImageList // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +/** + Flag values for Set/GetImageList +*/ +enum +{ + wxIMAGE_LIST_NORMAL, // Normal icons + wxIMAGE_LIST_SMALL, // Small icons + wxIMAGE_LIST_STATE // State icons: unimplemented (see WIN32 documentation) +}; + +/** + Flags for Draw +*/ +#define wxIMAGELIST_DRAW_NORMAL 0x0001 +#define wxIMAGELIST_DRAW_TRANSPARENT 0x0002 +#define wxIMAGELIST_DRAW_SELECTED 0x0004 +#define wxIMAGELIST_DRAW_FOCUSED 0x0008 + + /** @class wxImageList @@ -101,7 +120,7 @@ public: matching the dimensions of the image list. This does not apply when adding icons. - @onlyfor{wxmsw,wxmac} + @onlyfor{wxmsw,wxosx} */ int Add(const wxIcon& icon); @@ -209,7 +228,7 @@ public: @remarks The original bitmap or icon is not affected by the Replace() operation, and can be deleted afterwards. - @onlyfor{wxmsw,wxmac} + @onlyfor{wxmsw,wxosx} */ bool Replace(int index, const wxIcon& icon); };