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 333 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 638 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 645 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 673 of file widget.cpp.

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

Definition at line 348 of file widget.h.

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

Definition at line 349 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 343 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 344 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 652 of file widget.cpp.

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

Definition at line 659 of file widget.cpp.

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

Definition at line 347 of file widget.h.


Member Data Documentation

Definition at line 354 of file widget.h.

Definition at line 335 of file widget.h.

Definition at line 336 of file widget.h.


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


Generated on Sat Feb 22 2020 05:02:25 for ResidualVM by doxygen 1.7.1
curved edge   curved edge