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::String &label, const char *tooltip=0, uint32 cmd=0, uint8 hotkey=0)
 CheckboxWidget (GuiObject *boss, const Common::String &name, const Common::String &label, const char *tooltip=0, uint32 cmd=0, uint8 hotkey=0)
void handleMouseUp (int x, int y, int button, int clickCount)
virtual void handleMouseEntered (int button)
virtual void handleMouseLeft (int button)
void setState (bool state)
void toggleState ()
bool getState () const

Protected Member Functions

void drawWidget ()

Protected Attributes

bool _state

Detailed Description

Definition at line 289 of file widget.h.


Constructor & Destructor Documentation

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

Definition at line 576 of file widget.cpp.

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

Definition at line 582 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 604 of file widget.cpp.

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

Definition at line 302 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 297 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 298 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 588 of file widget.cpp.

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

Definition at line 595 of file widget.cpp.

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

Definition at line 301 of file widget.h.


Member Data Documentation

bool GUI::CheckboxWidget::_state [protected]

Definition at line 291 of file widget.h.


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


Generated on Sat Feb 15 2020 05:02:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge