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

Method ImageButton

extensions/olcPGEX_QuickGUI.h:761–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759
760#pragma region ImageButton
761 ImageButton::ImageButton(olc::QuickGUI::Manager& manager, const olc::Renderable& icon, const olc::vf2d& pos, const olc::vf2d& size)
762 : Button(manager, "", pos, size), pIcon(icon)
763 {
764
765 }
766
767 void ImageButton::Draw(olc::PixelGameEngine* pge)
768 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected