Integrate a new resource manager which should have better performance
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user