-------------------------------------------------- DRAW TEXT ---------------------------------------------
| 138 | } |
| 139 | //-------------------------------------------------- DRAW TEXT --------------------------------------------- |
| 140 | void GameImpl::setTextSize(Text::Size::Enum size) |
| 141 | { |
| 142 | // Clamp to valid sizes |
| 143 | size = Util::clamp(size, Text::Size::Small, Text::Size::Huge); |
| 144 | |
| 145 | if ( !this->tournamentCheck(Tournament::SetTextSize, &size) ) |
| 146 | return; |
| 147 | this->textSize = size; |
| 148 | } |
| 149 | void GameImpl::vDrawText(CoordinateType::Enum ctype, int x, int y, const char *format, va_list arg) |
| 150 | { |
| 151 | if ( !data->hasGUI ) return; |
no test coverage detected