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 258 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 477 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 483 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 505 of file widget.cpp.

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

Definition at line 271 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 266 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 267 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 489 of file widget.cpp.

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

Definition at line 496 of file widget.cpp.

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

Definition at line 270 of file widget.h.


Member Data Documentation

bool GUI::CheckboxWidget::_state [protected]

Definition at line 260 of file widget.h.


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


Generated on Sat Nov 9 2019 05:02:16 for ResidualVM by doxygen 1.7.1
curved edge   curved edge