| 4 | #include "../Renderer/RMaster.h" |
| 5 | |
| 6 | Debug_HUD::Section::Section(std::string&& stringFormat, const sf::Vector2f& textPosition, const void* var) |
| 7 | : format (std::move(stringFormat)) |
| 8 | , position (textPosition) |
| 9 | , info (var) |
| 10 | { |
| 11 | text.setCharacterSize (20); |
| 12 | text.setFont (getResources().fonts.get("rs")); |
| 13 | text.setOutlineThickness (1); |
| 14 | text.setOutlineColor (sf::Color::Black); |
| 15 | text.setPosition(position); |
| 16 | } |
| 17 | |
| 18 | |
| 19 | void Debug_HUD::addDebugSector(std::string&& format, |
nothing calls this directly
no test coverage detected