MCPcopy Create free account
hub / github.com/SFML/SFML / draw

Method draw

examples/joystick/Joystick.cpp:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 }
154
155 void draw(sf::RenderWindow& window, const sf::RenderStates& states = sf::RenderStates::Default) const
156 {
157 for (const auto& [_, joystickObject] : m_texts)
158 joystickObject.draw(window, states);
159 }
160
161private:
162 using Texts = std::unordered_map<std::string, JoystickObject>;

Callers

nothing calls this directly

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected