|
Mana
|
Guichan based RadioButton with custom look. More...
#include <radiobutton.h>
Public Member Functions | |
| RadioButton (const std::string &caption, const std::string &group, bool marked=false) | |
| void | draw (gcn::Graphics *graphics) override |
| Implementation of the draw method. | |
| void | drawBox (gcn::Graphics *graphics) override |
| Overridden because box is drawn in RadioButton::draw. | |
| void | mouseEntered (gcn::MouseEvent &event) override |
| Called when the mouse enteres the widget area. | |
| void | mouseExited (gcn::MouseEvent &event) override |
| Called when the mouse leaves the widget area. | |
Private Attributes | |
| bool | mHasMouse = false |
Guichan based RadioButton with custom look.
Definition at line 29 of file radiobutton.h.
| RadioButton::RadioButton | ( | const std::string & | caption, |
| const std::string & | group, | ||
| bool | marked = false |
||
| ) |
Definition at line 29 of file radiobutton.cpp.
|
override |
Implementation of the draw method.
Definition at line 39 of file radiobutton.cpp.
|
inlineoverride |
Overridden because box is drawn in RadioButton::draw.
Definition at line 44 of file radiobutton.h.
|
override |
Called when the mouse enteres the widget area.
Definition at line 63 of file radiobutton.cpp.
|
override |
Called when the mouse leaves the widget area.
Definition at line 68 of file radiobutton.cpp.
|
private |
Definition at line 57 of file radiobutton.h.