ability to load/use mouse cursors
| 341 | } |
| 342 | // ability to load/use mouse cursors |
| 343 | void ui_UseCursor(const char *fname) { |
| 344 | if (UI_cursor_bm > -1) |
| 345 | bm_FreeBitmap(UI_cursor_bm); |
| 346 | UI_cursor_bm = bm_AllocLoadFileBitmap(fname, 0); |
| 347 | ASSERT(UI_cursor_bm > -1); |
| 348 | } |
| 349 | // adds a window to the ui list. |
| 350 | void ui_AddWindow(UIWindow *wnd) { |
| 351 | tUIWindowNode *newnode = new tUIWindowNode; |
no test coverage detected