#include <pgcheckbutton.h>
Inheritance diagram for PG_CheckButton:

Public Member Functions | |
| PG_CheckButton (PG_Widget *parent, const PG_Rect &r=PG_Rect::null, const std::string &text=PG_NULLSTR, int id=-1, const std::string &style="CheckButton") | |
| construct a PG_CheckButton object | |
| ~PG_CheckButton () | |
| void | SetUnpressed () |
| Set the state of the checkbutton to unpressed. | |
Protected Member Functions | |
| bool | eventMouseButtonUp (const SDL_MouseButtonEvent *button) |
| Overridable Eventhandler for a SDL_MouseButtonEvent message. | |
pgcheckbutton screenshot
Definition at line 46 of file pgcheckbutton.h.
|
||||||||||||||||||||||||
|
construct a PG_CheckButton object
Definition at line 32 of file pgcheckbutton.cpp. References PG_Button::LoadThemeStyle(), PG_RadioButton::LoadThemeStyle(), PG_RadioButton::my_widgetButton, and SetUnpressed(). |
|
|
Definition at line 40 of file pgcheckbutton.cpp. |
|
|
Overridable Eventhandler for a SDL_MouseButtonEvent message. This handler is called when a mouse button is released. The default implementation returns 'false' which indicates that this message is not processed by this object.
Reimplemented from PG_RadioButton. Definition at line 42 of file pgcheckbutton.cpp. References PG_RadioButton::my_isPressed, PG_RadioButton::SetPressed(), and SetUnpressed(). |
|
|
Set the state of the checkbutton to unpressed.
Definition at line 55 of file pgcheckbutton.cpp. References PG_RadioButton::my_isPressed, PG_RadioButton::my_widgetButton, PG_Button::SetPressed(), PG_RadioButton::sigClick, and PG_Widget::Update(). Referenced by eventMouseButtonUp(), PG_CheckButton(), PG_PropertyField_Checkbox< B >::PG_PropertyField_Checkbox(), PG_PropertyField_Checkbox< B >::Reload(), SoundSettings::SoundSettings(), and StartMultiplayerGame::StartMultiplayerGame(). |
1.4.2