MCPcopy Create free account
hub / github.com/Hopson97/HopsonCraft / draw

Method draw

Source/GUI/Button.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 { }
39
40 void Button::draw(Renderer::Master& renderer)
41 {
42 renderer.draw(m_quad);
43 renderer.draw(m_text);
44 }
45
46 void Button::setPosition(const sf::Vector2f& position)
47 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected