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/endgame.cpp

    r650 r656  
    182182
    183183  image blank(vec2i(2)); blank.clear();
    184   wm->set_mouse_shape(blank.copy(),0,0);      // don't show mouse
     184  wm->SetMouseShape(blank.copy(), vec2i(0, 0));      // don't show mouse
    185185
    186186
     
    414414  main_screen->clear();
    415415
    416 
    417   wm->set_mouse_shape(cache.img(c_normal)->copy(),1,1);
     416  wm->SetMouseShape(cache.img(c_normal)->copy(), vec2i(1, 1));
    418417  the_game->set_state(MENU_STATE);
    419418}
     
    425424  fade_out(16);
    426425  image blank(vec2i(2, 2)); blank.clear();
    427   wm->set_mouse_shape(blank.copy(),0,0);      // don't show mouse
     426  wm->SetMouseShape(blank.copy(), vec2i(0, 0)); // don't show mouse
    428427  main_screen->clear();
    429428
     
    471470
    472471  fade_out(16);
    473   wm->set_mouse_shape(blank.copy(),0,0);      // don't show mouse
     472  wm->SetMouseShape(blank.copy(), vec2i(0, 0)); // don't show mouse
    474473  show_sell(1);
    475474  wm->Push(new Event(ID_SHOW_SELL,NULL));
     
    481480  fade_out(16);
    482481  image blank(vec2i(2, 2)); blank.clear();
    483   wm->set_mouse_shape(blank.copy(),0,0);      // don't show mouse
     482  wm->SetMouseShape(blank.copy(), vec2i(0, 0));      // don't show mouse
    484483  main_screen->clear();
    485484
     
    528527  show_sell(1);
    529528
    530   wm->set_mouse_shape(cache.img(c_normal)->copy(),1,1);
     529  wm->SetMouseShape(cache.img(c_normal)->copy(), vec2i(1, 1));
    531530  the_game->set_state(MENU_STATE);
    532531}
Note: See TracChangeset for help on using the changeset viewer.