76 #include "render/graphics.h"
92 const std::string &
restrict eventId) :
119 if (
theme !=
nullptr)
131 if (!eventId.empty())
138 if (
mSkin !=
nullptr)
162 if (
theme !=
nullptr)
186 if (image !=
nullptr)
205 if (
mSkin !=
nullptr)
208 for (
int a = 0; a < 6; a ++)
211 if (image !=
nullptr)
250 const Image *
const box = rect.
grid[index];
333 if ((widget ==
nullptr) && (
mWindow !=
nullptr))
void mouseExited(MouseEvent &event)
void safeDraw(Graphics *const graphics)
CheckBox(const Widget2 *const widget, const std::string &caption, const bool selected, ActionListener *const listener, const std::string &eventId)
void mouseEntered(MouseEvent &event)
void setWindow(Widget *const widget)
void keyPressed(KeyEvent &event)
void setCaption(const std::string &caption)
void draw(Graphics *const graphics)
void setParent(Widget *widget)
void mouseClicked(MouseEvent &event)
void drawBox(Graphics *const graphics)
void widgetHidden(const Event &event)
void mouseDragged(MouseEvent &event)
void generate(TextChunk &chunk)
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)