76 #include "render/graphics.h"
123 if (
theme !=
nullptr)
135 if (
mSkin !=
nullptr)
161 if (
theme !=
nullptr)
174 if (
mSkin !=
nullptr)
177 for (
int a = 0; a < 4; a ++)
180 if (image !=
nullptr)
189 if (
mSkin ==
nullptr)
220 const Image *
const box = rect.
grid[index];
251 if (image !=
nullptr)
293 if (selected && !
mGroup.empty())
300 if ((iter->second !=
nullptr) && iter->second->isSelected())
301 iter->second->setSelected(
false);
332 if (iter->second ==
this)
341 mGroupMap.insert(std::pair<std::string, RadioButton *>(group,
this));
368 if ((widget ==
nullptr) && (
mWindow !=
nullptr))
void generate(TextChunk &chunk)
int getWidth(const std::string &text) const
virtual void drawImage(const Image *const image, int dstX, int dstY)=0
void removeDragged(const Widget *const widget)
MouseButtonT getButton() const
int getOption(const std::string &name) const
const ImageRect & getBorder() const
void unload(Skin *const skin)
static std::string getThemePath()
Skin * load(const std::string &filename, const std::string &filename2, const bool full, const std::string &defaultPath)
float getMinimumOpacity() const
#define BLOCK_START(name)