#ifndef __THEMEPROVIDER_H__ #define __THEMEPROVIDER_H__ class CThemeProvider : public wxArtProvider { public: CThemeProvider(); virtual ~CThemeProvider() { } static std::list GetThemes(); static std::list GetAllImages(const wxString& theme, const wxSize& size); static bool GetThemeData(const wxString& themePath, wxString& name, wxString& author, wxString& email); static std::list GetThemeSizes(const wxString& themePath); static wxIconBundle GetIconBundle(const wxArtID& id, const wxArtClient& client = wxART_OTHER); static bool ThemeHasSize(const wxString& themePath, const wxString& size); protected: static wxString GetThemePath(); wxBitmap CreateBitmap(const wxArtID& id, const wxArtClient& client, const wxSize& size); wxString m_themePath; }; #endif //__THEMEPROVIDER_H__