93 const std::string &name2,
103 Skin *
load(
const std::string &filename,
104 const std::string &filename2,
109 const std::string &name,
110 const std::string &name2,
141 logger->
log(
"incorrect color request type: %d from %u",
145 ThemeColorId::BROWSERBOX)].color;
169 const std::string &name,
170 const std::string &name2,
179 const std::string &name2)
189 typedef std::map<std::string, Skin*>
Skins;
void log(const char *const log_text,...)
static void fillSoundsList(StringVect &list)
void unload(Skin *const skin)
void loadColors(std::string file)
static void prepareThemePath()
std::vector< DyePalette * > ProgressColors
static std::string mThemePath
static std::string resolveThemePath(const std::string &path)
static std::string getThemePath()
static Image * getImageFromThemeXml(const std::string &name, const std::string &name2)
void optionChanged(const std::string &name)
static ThemeInfo * loadInfo(const std::string &themeName)
static ImageSet * getImageSetFromThemeXml(const std::string &name, const std::string &name2, const int w, const int h)
Skins::iterator SkinIterator
static void unloadRect(const ImageRect &rect, const int start, const int end)
std::map< std::string, Skin * > Skins
ProgressColors mProgressColors
static void fillFontsList(StringVect &list)
static std::string mThemeName
Skin * load(const std::string &filename, const std::string &filename2, const bool full, const std::string &defaultPath)
static void fillSkinsList(StringVect &list)
const Color & getColor(const ThemeColorIdT type, const unsigned int alpha)
static std::string mScreenDensity
void loadRect(ImageRect &image, const std::string &name, const std::string &name2, const int start, const int end)
void setMinimumOpacity(const float minimumOpacity)
static bool tryThemePath(const std::string &themePath)
float getMinimumOpacity() const
Skin * loadSkinRect(ImageRect &image, const std::string &name, const std::string &name2, const int start, const int end)
static Image * getImageFromTheme(const std::string &path)
static Color getProgressColor(const ProgressColorIdT type, const float progress)
static std::string getThemeName()
ThemeColorIdT getIdByChar(const signed char c, bool &valid) const
static ImageSet * getImageSetFromTheme(const std::string &path, const int w, const int h)
Skin * readSkin(const std::string &filename0, const bool full)
#define A_DELETE_COPY(func)
ProgressColorId ::T ProgressColorIdT
std::vector< std::string > StringVect
ThemeColorId ::T ThemeColorIdT