unsigned char GetGreen( int x, int y ) const;
unsigned char GetBlue( int x, int y ) const;
+ // used to manipulate the icons while extracting from .ico files
+ bool GetUnusedColour( unsigned char *r, unsigned char *g, unsigned char *b );
+ bool ApplyMask( const wxImage & mask );
+
static bool CanRead( const wxString& name );
virtual bool LoadFile( const wxString& name, long type = wxBITMAP_TYPE_ANY );
virtual bool LoadFile( const wxString& name, const wxString& mimetype );
void SetMask( bool mask = TRUE );
bool HasMask() const;
+#if wxUSE_PALETTE
// Palette functions
bool HasPalette() const;
const wxPalette& GetPalette() const;
void SetPalette(const wxPalette& palette);
+#endif // wxUSE_PALETTE
// Option functions (arbitrary name/value mapping)
void SetOption(const wxString& name, const wxString& value);