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

GUI::RadiobuttonWidget Class Reference

#include <widget.h>

Inheritance diagram for GUI::RadiobuttonWidget:
Collaboration diagram for GUI::RadiobuttonWidget:

List of all members.

Public Member Functions

 RadiobuttonWidget (GuiObject *boss, int x, int y, int w, int h, RadiobuttonGroup *group, int value, const Common::String &label, const char *tooltip=0, uint8 hotkey=0)
 RadiobuttonWidget (GuiObject *boss, const Common::String &name, RadiobuttonGroup *group, int value, const Common::String &label, const char *tooltip=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, bool setGroup=true)
void toggleState ()
bool getState () const
int getValue () const

Protected Member Functions

void drawWidget ()

Protected Attributes

bool _state
int _value
RadiobuttonGroup_group

Detailed Description

Definition at line 302 of file widget.h.


Constructor & Destructor Documentation

GUI::RadiobuttonWidget::RadiobuttonWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h,
RadiobuttonGroup group,
int  value,
const Common::String label,
const char *  tooltip = 0,
uint8  hotkey = 0 
)

Definition at line 539 of file widget.cpp.

GUI::RadiobuttonWidget::RadiobuttonWidget ( GuiObject boss,
const Common::String name,
RadiobuttonGroup group,
int  value,
const Common::String label,
const char *  tooltip = 0,
uint8  hotkey = 0 
)

Definition at line 546 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 574 of file widget.cpp.

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

Definition at line 317 of file widget.h.

int GUI::RadiobuttonWidget::getValue (  )  const [inline]

Definition at line 318 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 312 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 313 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 553 of file widget.cpp.

void GUI::RadiobuttonWidget::setState ( bool  state,
bool  setGroup = true 
)

Definition at line 560 of file widget.cpp.

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

Definition at line 316 of file widget.h.


Member Data Documentation

Definition at line 323 of file widget.h.

Definition at line 304 of file widget.h.

Definition at line 305 of file widget.h.


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


Generated on Sat May 18 2019 05:06:47 for ResidualVM by doxygen 1.7.1
curved edge   curved edge