X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/732d8c74f805e35cd398711fcd3969c4c668e259..f994a8ac8daef7ba9908af3e56f4b4d78fcbf958:/include/wx/bitmap.h?ds=sidebyside diff --git a/include/wx/bitmap.h b/include/wx/bitmap.h index e6e837d948..f861b3354a 100644 --- a/include/wx/bitmap.h +++ b/include/wx/bitmap.h @@ -175,6 +175,9 @@ public: virtual wxBitmap GetSubBitmap(const wxRect& rect) const = 0; + // Convert to disabled (dimmed) bitmap. + wxBitmap ConvertToDisabled(unsigned char brightness = 255) const; + virtual bool SaveFile(const wxString &name, wxBitmapType type, const wxPalette *palette = NULL) const = 0; virtual bool LoadFile(const wxString &name, wxBitmapType type) = 0;