![]()  | 
  
    olcPixelGameEngine v2.29
    
   The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects 
   | 
 
#include <olcPGEX_QuickGUI.h>
  
Public Types | |
| enum class | Alignment { Left , Centre , Right } | 
Public Member Functions | |
| Label (olc::QuickGUI::Manager &manager, const std::string &text, 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 | 
| std::string | sText | 
| bool | bHasBorder = false | 
| bool | bHasBackground = false | 
| enum olc::QuickGUI::Label::Alignment | nAlign = Alignment::Centre | 
  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 | 
      
  | 
  strong | 
| olc::QuickGUI::Label::Label | ( | olc::QuickGUI::Manager & | manager, | 
| const std::string & | text, | ||
| const olc::vf2d & | pos, | ||
| const olc::vf2d & | size ) | 
      
  | 
  overridevirtual | 
Implements olc::QuickGUI::BaseControl.
Reimplemented in olc::QuickGUI::TextBox.
      
  | 
  overridevirtual | 
Implements olc::QuickGUI::BaseControl.
Reimplemented in olc::QuickGUI::TextBox.
      
  | 
  overridevirtual | 
Implements olc::QuickGUI::BaseControl.
Reimplemented in olc::QuickGUI::TextBox.
| bool olc::QuickGUI::Label::bHasBackground = false | 
| bool olc::QuickGUI::Label::bHasBorder = false | 
| enum olc::QuickGUI::Label::Alignment olc::QuickGUI::Label::nAlign = Alignment::Centre | 
| std::string olc::QuickGUI::Label::sText | 
| olc::vf2d olc::QuickGUI::Label::vPos | 
| olc::vf2d olc::QuickGUI::Label::vSize |