#include <settingsmenu.h>
Public Member Functions | |
CheckboxWidget (const char *renderEntryName, bool isChecked, WidgetOnClickCallback *onClickCallback, WidgetOnMouseMoveCallback *onMouseMoveCallback) | |
void | render () override |
bool | isMouseInside (const Common::Point &mousePos) const override |
void | onClick () override |
Public Member Functions inherited from Stark::StaticLocationWidget | |
StaticLocationWidget (const char *renderEntryName, WidgetOnClickCallback *onClickCallback, WidgetOnMouseMoveCallback *onMouseMoveCallback) | |
virtual void | onMouseMove (const Common::Point &mousePos) |
virtual void | onMouseUp () |
virtual void | onScreenChanged () |
void | setupSounds (int16 enterSound, int16 clickSound) |
void | setTextColor (const Gfx::Color &textColor) |
bool | isVisible () const |
void | setVisible (bool visible) |
void | onGameLoop () |
void | onMouseEnter () |
void | onMouseLeave () |
Additional Inherited Members | |
Protected Member Functions inherited from Stark::StaticLocationWidget | |
Common::Point | getPosition () const |
Protected Attributes inherited from Stark::StaticLocationWidget | |
Gfx::RenderEntry * | _renderEntry |
Widget with a checkbox
|
overridevirtual |
Draw the widget
Reimplemented from Stark::StaticLocationWidget.
|
overridevirtual |
Is the specified point inside the widget?
Reimplemented from Stark::StaticLocationWidget.
|
overridevirtual |
Called when the widget is clicked
Reimplemented from Stark::StaticLocationWidget.