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/imlib/input.h

    r653 r655  
    7272  void draw_text(image *screen)
    7373  {
    74     screen->bar(xstart()+1,y+1,xend()-1,yend()-1,wm->dark_color());
     74    screen->Bar(vec2i(xstart() + 1, y + 1), vec2i(xend() - 1, yend() - 1),
     75                wm->dark_color());
    7576    wm->font()->put_string(screen,xstart()+1,y+3,data);
    7677  }
Note: See TracChangeset for help on using the changeset viewer.