MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / TextBox

Method TextBox

extensions/olcPGEX_QuickGUI.h:540–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538
539#pragma region TextBox
540 TextBox::TextBox(olc::QuickGUI::Manager& manager, const std::string& text, const olc::vf2d& pos, const olc::vf2d& size)
541 : Label(manager, text, pos, size)
542 {
543 nAlign = Alignment::Left;
544 bHasBorder = true;
545 bHasBackground = false;
546 }
547
548 void TextBox::Update(olc::PixelGameEngine* pge)
549 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected