| 1190 | } |
| 1191 | |
| 1192 | void CTouchControls::RenderButtonsGame() |
| 1193 | { |
| 1194 | for(CTouchButton &TouchButton : m_vTouchButtons) |
| 1195 | { |
| 1196 | TouchButton.UpdateVisibilityGame(); |
| 1197 | } |
| 1198 | for(CTouchButton &TouchButton : m_vTouchButtons) |
| 1199 | { |
| 1200 | if(!TouchButton.IsVisible()) |
| 1201 | { |
| 1202 | continue; |
| 1203 | } |
| 1204 | TouchButton.UpdateBackgroundCorners(); |
| 1205 | TouchButton.UpdateScreenFromUnitRect(); |
| 1206 | TouchButton.Render(); |
| 1207 | } |
| 1208 | } |
| 1209 | |
| 1210 | vec2 CTouchControls::CalculateScreenSize() const |
| 1211 | { |
nothing calls this directly
no test coverage detected