Ignore:
Timestamp:
May 14, 2011, 3:06:23 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make some Image methods use vec2i.

File:
1 edited

Legend:

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

    r645 r650  
    256256      }
    257257      wm->flush_screen();
    258       main_screen->PutImage(save, mx + 1, by1);
     258      main_screen->PutImage(save, vec2i(mx + 1, by1));
    259259    } else { Timer tmp; tmp.WaitMs(10); }
    260260
     
    519519      if (title_screen>=0)
    520520      {
    521         image *tit=cache.img(title_screen);
    522           main_screen->PutImage(tit, main_screen->Size().x/2-tit->Size().x/2,
    523                                 main_screen->Size().y/2-tit->Size().y/2);
     521        image *im = cache.img(title_screen);
     522        main_screen->PutImage(im, main_screen->Size() / 2 - im->Size() / 2);
    524523      }
    525524      inm->redraw();
Note: See TracChangeset for help on using the changeset viewer.