X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89bb3f024443c8129a6acfb28a4d24ca9f190fcf..5c14ec264057d86fe60b2bacc09965492652cc0f:/interface/wx/imaglist.h diff --git a/interface/wx/imaglist.h b/interface/wx/imaglist.h index 76a8eaf5db..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 @@ -100,6 +119,8 @@ public: bitmap will automatically be split into smaller images, each matching the dimensions of the image list. This does not apply when adding icons. + + @onlyfor{wxmsw,wxosx} */ int Add(const wxIcon& icon); @@ -206,6 +227,8 @@ public: @remarks The original bitmap or icon is not affected by the Replace() operation, and can be deleted afterwards. + + @onlyfor{wxmsw,wxosx} */ bool Replace(int index, const wxIcon& icon); };