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

    r555 r655  
    5858      int x1,y1,x2,y2;
    5959      area(x1,y1,x2,y2);
    60       screen->bar(x1,y1,x2,y2,wm->medium_color());
     60      screen->Bar(vec2i(x1, y1), vec2i(x2, y2), wm->medium_color());
    6161
    6262      char st[200],curdir[200];
     
    9696{
    9797  if (active)
    98     screen->bar(x,y,x+item_width()-1,y+item_height()-1,wm->black());
     98    screen->Bar(vec2i(x, y),
     99                vec2i(x + item_width() - 1, y + item_height() - 1),
     100                wm->black());
    99101
    100102  if (num<td)
Note: See TracChangeset for help on using the changeset viewer.