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

Protected Member Functions

void drawWidget () override

Protected Attributes

bool _state
int _value
RadiobuttonGroup_group

Detailed Description

Definition at line 352 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::U32String label,
const Common::U32String tooltip = Common::U32String(""),
uint8  hotkey = 0 
)

Definition at line 688 of file widget.cpp.

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

Definition at line 695 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 723 of file widget.cpp.

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

Definition at line 367 of file widget.h.

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

Definition at line 368 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 362 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 363 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 702 of file widget.cpp.

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

Definition at line 709 of file widget.cpp.

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

Definition at line 366 of file widget.h.


Member Data Documentation

Definition at line 373 of file widget.h.

Definition at line 354 of file widget.h.

Definition at line 355 of file widget.h.


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


Generated on Sat Sep 19 2020 05:05:31 for ResidualVM by doxygen 1.7.1
curved edge   curved edge