![]() |
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 | |
| ListBox (olc::QuickGUI::Manager &manager, std::vector< std::string > &vList, 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 |
Public Member Functions inherited from olc::QuickGUI::BaseControl | |
| BaseControl (olc::QuickGUI::Manager &manager) | |
| virtual | ~BaseControl () |
| void | Enable (const bool bEnable) |
Public Attributes | |
| olc::vf2d | vPos |
| olc::vf2d | vSize |
| bool | bHasBorder = true |
| bool | bHasBackground = true |
| Slider * | m_pSlider = nullptr |
| Manager | m_group |
| size_t | m_nVisibleItems = 0 |
| std::vector< std::string > & | m_vList |
| size_t | nSelectedItem = 0 |
| size_t | nPreviouslySelectedItem = 0 |
| bool | bSelectionChanged = false |
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::ListBox::ListBox | ( | olc::QuickGUI::Manager & | manager, |
| std::vector< std::string > & | vList, | ||
| const olc::vf2d & | pos, | ||
| const olc::vf2d & | size ) |
|
overridevirtual |
Implements olc::QuickGUI::BaseControl.
|
overridevirtual |
Implements olc::QuickGUI::BaseControl.
|
overridevirtual |
Implements olc::QuickGUI::BaseControl.
| bool olc::QuickGUI::ListBox::bHasBackground = true |
| bool olc::QuickGUI::ListBox::bHasBorder = true |
| bool olc::QuickGUI::ListBox::bSelectionChanged = false |
| Manager olc::QuickGUI::ListBox::m_group |
| size_t olc::QuickGUI::ListBox::m_nVisibleItems = 0 |
| Slider* olc::QuickGUI::ListBox::m_pSlider = nullptr |
| std::vector<std::string>& olc::QuickGUI::ListBox::m_vList |
| size_t olc::QuickGUI::ListBox::nPreviouslySelectedItem = 0 |
| size_t olc::QuickGUI::ListBox::nSelectedItem = 0 |
| olc::vf2d olc::QuickGUI::ListBox::vPos |
| olc::vf2d olc::QuickGUI::ListBox::vSize |