draws a line of text.
| 266 | |
| 267 | // draws a line of text. |
| 268 | void ui_DrawString(ddgr_color col, int x, int y, const char *str) { |
| 269 | grtext_SetFlags(m_UITextFlags); |
| 270 | grtext_SetAlpha(m_UICharAlpha); |
| 271 | grtext_SetColor(col); |
| 272 | grtext_Puts(x, y, str); |
| 273 | grtext_Flush(); |
| 274 | } |
| 275 | |
| 276 | void ui_DrawCenteredString(ddgr_color col, int xoff, int y, const char *str) { |
| 277 | grtext_SetFlags(m_UITextFlags); |
no test coverage detected