![]() |
olcPixelGameEngine v2.28
The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects
|
#include <olcPGEX_QuickGUI.h>
Public Member Functions | |
CheckBox (olc::QuickGUI::Manager &manager, const std::string &text, const bool check, const olc::vf2d &pos, const olc::vf2d &size) | |
void | Update (olc::PixelGameEngine *pge) override |
void | Draw (olc::PixelGameEngine *pge) override |
void | DrawDecal (olc::PixelGameEngine *pge) override |
![]() | |
Button (olc::QuickGUI::Manager &manager, const std::string &text, const olc::vf2d &pos, const olc::vf2d &size) | |
![]() | |
BaseControl (olc::QuickGUI::Manager &manager) | |
virtual | ~BaseControl () |
void | Enable (const bool bEnable) |
Public Attributes | |
bool | bChecked = false |
![]() | |
olc::vf2d | vPos |
olc::vf2d | vSize |
std::string | sText |
![]() | |
bool | bVisible = true |
bool | bPressed = false |
bool | bHeld = false |
bool | bReleased = false |
Additional Inherited Members | |
![]() | |
enum class | State { Disabled , Normal , Hover , Click } |
![]() | |
olc::QuickGUI::Manager & | m_manager |
enum olc::QuickGUI::BaseControl::State | m_state = State::Normal |
float | m_fTransition = 0.0 |
olc::QuickGUI::CheckBox::CheckBox | ( | olc::QuickGUI::Manager & | manager, |
const std::string & | text, | ||
const bool | check, | ||
const olc::vf2d & | pos, | ||
const olc::vf2d & | size ) |
|
overridevirtual |
Reimplemented from olc::QuickGUI::Button.
|
overridevirtual |
Reimplemented from olc::QuickGUI::Button.
|
overridevirtual |
Reimplemented from olc::QuickGUI::Button.
bool olc::QuickGUI::CheckBox::bChecked = false |