Ignore:
Timestamp:
May 15, 2011, 6:22:13 AM (11 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/statbar.cpp

    r643 r656  
    251251    {
    252252      if ((current_level->tick_counter()&4)==0)
    253         wm->set_mouse_shape(cache.img(c_mouse1)->copy(),4,4);
    254       else wm->set_mouse_shape(cache.img(c_mouse2)->copy(),4,4);
     253        wm->SetMouseShape(cache.img(c_mouse1)->copy(), vec2i(4, 4));
     254      else wm->SetMouseShape(cache.img(c_mouse2)->copy(), vec2i(4, 4));
    255255      changed_cursor=1;
    256256    } else if (changed_cursor)
    257257    {
    258258      if (!(dev&EDIT_MODE))
    259         wm->set_mouse_shape(cache.img(c_target)->copy(),8,8);
     259        wm->SetMouseShape(cache.img(c_target)->copy(), vec2i(8, 8));
    260260      else
    261         wm->set_mouse_shape(cache.img(c_normal)->copy(),1,1);
     261        wm->SetMouseShape(cache.img(c_normal)->copy(), vec2i(1, 1));
    262262      changed_cursor=0;
    263263    }
Note: See TracChangeset for help on using the changeset viewer.