| 28 | } |
| 29 | |
| 30 | void TextIcon::setString(const std::string &string) { |
| 31 | text->setString(string); |
| 32 | setSize(text->getLocalBounds().width + 8, (float) text->getCharacterSize() + 6); |
| 33 | text->setPosition(getSize().x / 2, (getSize().y / 2) + 1); |
| 34 | } |
no outgoing calls
no test coverage detected