![]() |
olcPixelGameEngine v2.29
The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects
|
#include <olcPGEX_QuickGUI.h>
Public Member Functions | |
| Slider (olc::QuickGUI::Manager &manager, const olc::vf2d &posmin, const olc::vf2d &posmax, const float valmin, const float valmax, const float value) | |
| void | Update (olc::PixelGameEngine *pge) override |
| void | Draw (olc::PixelGameEngine *pge) override |
| void | DrawDecal (olc::PixelGameEngine *pge) override |
Public Member Functions inherited from olc::QuickGUI::BaseControl | |
| BaseControl (olc::QuickGUI::Manager &manager) | |
| virtual | ~BaseControl () |
| void | Enable (const bool bEnable) |
Public Attributes | |
| float | fMin = -100.0f |
| float | fMax = +100.0f |
| float | fValue = 0.0f |
| olc::vf2d | vPosMin |
| olc::vf2d | vPosMax |
Public Attributes inherited from olc::QuickGUI::BaseControl | |
| bool | bVisible = true |
| bool | bPressed = false |
| bool | bHeld = false |
| bool | bReleased = false |
Additional Inherited Members | |
Protected Types inherited from olc::QuickGUI::BaseControl | |
| enum class | State { Disabled , Normal , Hover , Click } |
Protected Attributes inherited from olc::QuickGUI::BaseControl | |
| olc::QuickGUI::Manager & | m_manager |
| enum olc::QuickGUI::BaseControl::State | m_state = State::Normal |
| float | m_fTransition = 0.0 |
| olc::QuickGUI::Slider::Slider | ( | olc::QuickGUI::Manager & | manager, |
| const olc::vf2d & | posmin, | ||
| const olc::vf2d & | posmax, | ||
| const float | valmin, | ||
| const float | valmax, | ||
| const float | value ) |
|
overridevirtual |
Implements olc::QuickGUI::BaseControl.
|
overridevirtual |
Implements olc::QuickGUI::BaseControl.
|
overridevirtual |
Implements olc::QuickGUI::BaseControl.
| float olc::QuickGUI::Slider::fMax = +100.0f |
| float olc::QuickGUI::Slider::fMin = -100.0f |
| float olc::QuickGUI::Slider::fValue = 0.0f |
| olc::vf2d olc::QuickGUI::Slider::vPosMax |
| olc::vf2d olc::QuickGUI::Slider::vPosMin |