#include <Fui.h>
Inheritance diagram for CFuiRadioButton:

Public Member Functions | |
| CFuiRadioButton (int x=0, int y=0, int w=0, int h=0, Tag window=0) | |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| virtual void | Draw (void) |
| virtual bool | MouseClick (int x, int y, EMouseButton button) |
| virtual bool | MouseStopClick (int x, int y, EMouseButton button) |
| int | GetState (void) |
| Retrieve current state of radio button. | |
| void | SetState (int) |
| Set current state of radio button. | |
Protected Attributes | |
| SBitmap * | bmBack |
| Bitmap graphics. | |
| int | state |
| Radio button state (0/1 for off/on). | |
| bool | pressed |
| Button is pressed. | |
Definition at line 625 of file Fui.h.
|
||||||||||||||||||||||||
|
Definition at line 1662 of file Fui.cpp. References bmBack, COMPONENT_RADIOBUTTON, pressed, state, CFuiComponent::type, CFuiComponent::widgetName, and CFuiComponent::widgetTag. |
|
|
Reimplemented from CFuiComponent. Definition at line 1710 of file Fui.cpp. References bmBack, CFuiComponent::Draw(), DrawBitmap(), DrawText(), CFuiComponent::font, GetBitmapSize(), MakeRGB(), pressed, state, CFuiComponent::surface, CFuiComponent::text, and TextWidth(). |
|
|
Definition at line 1748 of file Fui.cpp. References state. Referenced by CFuiManager::GetRadioState(). |
|
||||||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 1762 of file Fui.cpp. References CFuiComponent::MouseHit(), and pressed. |
|
||||||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 1772 of file Fui.cpp. References EVENT_CHECKED, EVENT_NOSUBEVENT, SGlobals::fuimgr, CFuiManager::GenerateEventNotice(), globals, CFuiComponent::MouseHit(), CFuiComponent::parentWindowId, pressed, and SetState(). |
|
||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 1674 of file Fui.cpp. References CFuiComponent::Read(), ReadInt(), SetState(), state, TAG_IGNORED, and TAG_READ. |
|
|
Reimplemented from CFuiComponent. Definition at line 1694 of file Fui.cpp. References bmBack, SGlobals::fuimgr, CFuiThemeWidget::GetBitmap(), CFuiManager::GetThemeWidget(), globals, gtfo, CFuiComponent::ReadFinished(), TagToString(), CFuiComponent::widgetName, and CFuiComponent::widgetTag. |
|
|
Definition at line 1753 of file Fui.cpp. Referenced by MouseStopClick(), Read(), and CFuiManager::SetRadioState(). |
|
|
Definition at line 645 of file Fui.h. Referenced by CFuiRadioButton(), Draw(), and ReadFinished(). |
|
|
Definition at line 647 of file Fui.h. Referenced by CFuiRadioButton(), Draw(), MouseClick(), and MouseStopClick(). |
|
|
Definition at line 646 of file Fui.h. Referenced by CFuiRadioButton(), Draw(), GetState(), and Read(). |
|
|
Documentation generated by
|