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=nullptr, uint8 hotkey=0)
 RadiobuttonWidget (GuiObject *boss, const Common::String &name, RadiobuttonGroup *group, int value, const Common::String &label, const char *tooltip=nullptr, 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 350 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 = nullptr,
uint8  hotkey = 0 
)

Definition at line 682 of file widget.cpp.

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

Definition at line 689 of file widget.cpp.


Member Function Documentation

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

Reimplemented from GUI::ButtonWidget.

Definition at line 717 of file widget.cpp.

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

Definition at line 365 of file widget.h.

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

Definition at line 366 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 360 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 361 of file widget.h.

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

Reimplemented from GUI::ButtonWidget.

Definition at line 696 of file widget.cpp.

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

Definition at line 703 of file widget.cpp.

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

Definition at line 364 of file widget.h.


Member Data Documentation

Definition at line 371 of file widget.h.

Definition at line 352 of file widget.h.

Definition at line 353 of file widget.h.


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


Generated on Sat Jul 4 2020 05:03:59 for ResidualVM by doxygen 1.7.1
curved edge   curved edge