ui system overridables overridable draws the window background before gadgets
| 865 | // ui system overridables |
| 866 | // overridable draws the window background before gadgets |
| 867 | void NewUIWindow::OnDraw() { |
| 868 | UIWindow::OnDraw(); |
| 869 | |
| 870 | if (m_Flags & UIF_BORDER) { |
| 871 | ui_DrawBox(GR_DARKGRAY, 0, 0, m_W, m_H); |
| 872 | ui_DrawBox(GR_LIGHTGRAY, 2, 2, m_W - 2, m_H - 2); |
| 873 | } |
| 874 | } |
| 875 | |
| 876 | void NewUIWindow::OnDestroy() { bm_DestroyChunkedBitmap(&m_Chunk); } |
| 877 |
nothing calls this directly
no test coverage detected