| 36 | } |
| 37 | |
| 38 | void Label::setColor(const SDL_Color color) { |
| 39 | if (color.r == _color.r && color.g == _color.g && color.b == _color.b && color.a == _color.a) |
| 40 | return; |
| 41 | _color = color; |
| 42 | setTextureColor(); |
| 43 | } |
| 44 | |
| 45 | std::string_view Label::getText() const { return _text; } |
| 46 |
nothing calls this directly
no outgoing calls
no test coverage detected