Integrate a new resource manager which should have better performance

This commit is contained in:
2020-01-26 11:53:19 -05:00
parent 29ef8b9c1e
commit 542c037342
47 changed files with 753 additions and 644 deletions

View File

@@ -44,7 +44,7 @@ void set_cursor(cursor_type which_c) {
if(which_c == text_curs) {
// XDefineCursor(NULL, current_window, ibeam);
} else {
Cursor& curs = *ResMgr::get<CursorRsrc>(cursors[which_c]);
Cursor& curs = *ResMgr::cursors.get(cursors[which_c]);
curs.apply();
}
}