| 284 | } |
| 285 | |
| 286 | void TextObject::CalculateSizes(){ |
| 287 | textSize.x = GetTextLength(text.c_str(), font); |
| 288 | textSize.y = font->height; |
| 289 | } |
| 290 | |
| 291 | void TextObject::Render(surface_t* surface){ |
| 292 | switch(renderMode){ |
nothing calls this directly
no test coverage detected