| 267 | } |
| 268 | |
| 269 | void drawRight(float x, const float y, const char* const text, const int offset = 0) |
| 270 | { |
| 271 | const float width = (100.0f + offset) * fScale; |
| 272 | x += offset * fScale; |
| 273 | beginPath(); |
| 274 | fillColor(255, 255, 255); |
| 275 | textAlign(ALIGN_LEFT|ALIGN_TOP); |
| 276 | textBox(x + (105 * fScale), y, width, text); |
| 277 | closePath(); |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | Set our UI class as non-copyable and add a leak detector just in case. |