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

    r645 r650  
    275275  int ns_w=ns->Size().x,ns_h=ns->Size().y;
    276276  int x=(xres+1)/2-ns_w/2,y=(yres+1)/2-ns_h/2;
    277   main_screen->PutImage(ns, x, y);
     277  main_screen->PutImage(ns, vec2i(x, y));
    278278  JCFont *fnt=wm->font();
    279279
     
    315315  }
    316316
    317   main_screen->PutImage(screen_backup, 0, 0);
     317  main_screen->PutImage(screen_backup, vec2i(0, 0));
    318318  wm->flush_screen();
    319319  delete screen_backup;
     
    340340  int ns_w=ns->Size().x,ns_h=ns->Size().y;
    341341  int x=(xres+1)/2-ns_w/2,y=(yres+1)/2-ns_h/2;
    342   main_screen->PutImage(ns, x, y);
     342  main_screen->PutImage(ns, vec2i(x, y));
    343343  JCFont *fnt=wm->font();
    344344  image *ok_image=cache.img(cache.reg("art/frame.spe","dev_ok",SPEC_IMAGE,1))->copy(),
     
    460460  int ns_w=ns->Size().x,ns_h=ns->Size().y;
    461461  int x=(xres+1)/2-ns_w/2,y=(yres+1)/2-ns_h/2;
    462   main_screen->PutImage(ns, x, y);
     462  main_screen->PutImage(ns, vec2i(x, y));
    463463  char const *nw_s = symbol_str("Networking");
    464464  JCFont *fnt=wm->font();
Note: See TracChangeset for help on using the changeset viewer.