behavior when gadget is being drawn.
| 278 | |
| 279 | // behavior when gadget is being drawn. |
| 280 | void UIEdit::OnDraw() { |
| 281 | if (m_Flags & UIF_BORDER) { |
| 282 | ui_DrawBox(GR_RGB(128, 128, 128), m_X1b - 1, 0, m_X2b + 1, m_H); |
| 283 | } |
| 284 | |
| 285 | DrawText(); |
| 286 | } |
| 287 | |
| 288 | void UIEdit::DrawText() { |
| 289 | char buffer[EDIT_BUFLEN_MAX]; |
nothing calls this directly
no test coverage detected