Ignore:
Timestamp:
May 15, 2011, 6:22:13 AM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: move generic code back into the platform-agnostic imlib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/game.cpp

    r655 r656  
    443443
    444444    if(playing_state(state) &&  !(dev & EDIT_MODE))
    445         wm->set_mouse_shape(cache.img(c_target)->copy(), 8, 8);
     445        wm->SetMouseShape(cache.img(c_target)->copy(), vec2i(8, 8));
    446446    else
    447         wm->set_mouse_shape(cache.img(c_normal)->copy(), 1, 1);
     447        wm->SetMouseShape(cache.img(c_normal)->copy(), vec2i(1, 1));
    448448
    449449    if(old_state == SCENE_STATE && new_state != SCENE_STATE)
     
    12431243    image *blank = new image(vec2i(2, 2));
    12441244    blank->clear();
    1245     wm->set_mouse_shape(blank->copy(), 0, 0); // hide mouse
     1245    wm->SetMouseShape(blank->copy(), vec2i(0, 0)); // hide mouse
    12461246    delete blank;
    12471247    fade_in(cache.img(cdc_logo), 32);
Note: See TracChangeset for help on using the changeset viewer.