* Draw a string to the screen using a fixed width for each char. * * @param string The string to draw. * @param left The most left position where to draw the string. * @param top The most top position where to draw the string. * @param fgColour The foreground colour of the text. * @param bgColour The background colour of the text. * @param charWidth The width of a char. */
| 3480 | * @param charWidth The width of a char. |
| 3481 | */ |
| 3482 | void GUI_DrawText_Monospace(char *string, uint16 left, uint16 top, uint8 fgColour, uint8 bgColour, uint16 charWidth) |
| 3483 | { |
| 3484 | char s[2] = " "; |
| 3485 | |
| 3486 | while (*string != '\0') { |
| 3487 | *s = *string++; |
| 3488 | GUI_DrawText(s, left, top, fgColour, bgColour); |
| 3489 | left += charWidth; |
| 3490 | } |
| 3491 | } |
| 3492 | |
| 3493 | void GUI_FactoryWindow_B495_0F30(void) |
| 3494 | { |
no test coverage detected