X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a98423eb038738b5c4c76c575435034ee8b7d56..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/imaglist.h?ds=sidebyside diff --git a/interface/wx/imaglist.h b/interface/wx/imaglist.h index e0b8a2d4fe..b2b7c55a0d 100644 --- a/interface/wx/imaglist.h +++ b/interface/wx/imaglist.h @@ -2,10 +2,28 @@ // Name: imaglist.h // 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 +119,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 +227,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); };