ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <widget.h>

Inheritance diagram for GUI::CheckboxWidget:
Collaboration diagram for GUI::CheckboxWidget:

List of all members.

Public Member Functions

 CheckboxWidget (GuiObject *boss, int x, int y, int w, int h, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(""), uint32 cmd=0, uint8 hotkey=0)
 CheckboxWidget (GuiObject *boss, const Common::String &name, const Common::U32String &label, const Common::U32String &tooltip=Common::U32String(""), uint32 cmd=0, uint8 hotkey=0)
void handleMouseUp (int x, int y, int button, int clickCount) override
void handleMouseEntered (int button) override
void handleMouseLeft (int button) override
void setState (bool state)
void toggleState ()
bool getState () const

Protected Member Functions

void drawWidget () override

Protected Attributes

bool _state

Detailed Description

Definition at line 308 of file widget.h.


Constructor & Destructor Documentation

GUI::CheckboxWidget::CheckboxWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h,
const Common::U32String label,
const Common::U32String tooltip = Common::U32String(""),
uint32  cmd = 0,
uint8  hotkey = 0 
)

Definition at line 626 of file widget.cpp.

GUI::CheckboxWidget::CheckboxWidget ( GuiObject boss,
const Common::String name,
const Common::U32String label,
const Common::U32String tooltip = Common::U32String(""),
uint32  cmd = 0,
uint8  hotkey = 0 
)

Definition at line 632 of file widget.cpp.


Member Function Documentation

void GUI::CheckboxWidget::drawWidget (  )  [override, protected]

Reimplemented from GUI::ButtonWidget.

Definition at line 654 of file widget.cpp.

bool GUI::CheckboxWidget::getState (  )  const [inline]

Definition at line 321 of file widget.h.

void GUI::CheckboxWidget::handleMouseEntered ( int  button  )  [inline, override]

Reimplemented from GUI::ButtonWidget.

Definition at line 316 of file widget.h.

void GUI::CheckboxWidget::handleMouseLeft ( int  button  )  [inline, override]

Reimplemented from GUI::ButtonWidget.

Definition at line 317 of file widget.h.

void GUI::CheckboxWidget::handleMouseUp ( int  x,
int  y,
int  button,
int  clickCount 
) [override]

Reimplemented from GUI::ButtonWidget.

Definition at line 638 of file widget.cpp.

void GUI::CheckboxWidget::setState ( bool  state  ) 

Definition at line 645 of file widget.cpp.

void GUI::CheckboxWidget::toggleState (  )  [inline]

Definition at line 320 of file widget.h.


Member Data Documentation

bool GUI::CheckboxWidget::_state [protected]

Definition at line 310 of file widget.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 12 2020 05:04:50 for ResidualVM by doxygen 1.7.1
curved edge   curved edge