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

imlib: refactor a few image methods so that they use vec2i.

File:
1 edited

Legend:

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

    r650 r655  
    3232  int x2=x1+im->Size().x,y2=y1+im->Size().y;
    3333  main_screen->PutImage(im, vec2i(x1, y1));
    34   main_screen->bar(0,0,x1-1,yres,0);
    35   main_screen->bar(0,0,xres,y1-1,0);
    36   main_screen->bar(x2,y1,xres,yres,0);
    37   main_screen->bar(x1,y2,x2,yres,0);
     34  main_screen->Bar(vec2i(0, 0), vec2i(x1 - 1, yres), 0);
     35  main_screen->Bar(vec2i(0, 0), vec2i(xres, y1 - 1), 0);
     36  main_screen->Bar(vec2i(x2, y1), vec2i(xres, yres), 0);
     37  main_screen->Bar(vec2i(x1, y2), vec2i(x2, yres), 0);
    3838}
    3939
Note: See TracChangeset for help on using the changeset viewer.