helpers for drawing text
| 248 | |
| 249 | // helpers for drawing text |
| 250 | void drawLeft(const float x, const float y, const char* const text) |
| 251 | { |
| 252 | beginPath(); |
| 253 | fillColor(200, 200, 200); |
| 254 | textAlign(ALIGN_RIGHT|ALIGN_TOP); |
| 255 | textBox(x, y, 100 * fScale, text); |
| 256 | closePath(); |
| 257 | } |
| 258 | |
| 259 | void drawRight(const float x, const float y, const char* const text) |
| 260 | { |