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

    r646 r655  
    3838        long x2 = x + item_width() - 1;
    3939        long y2 = y + item_height() - 1;
    40         screen->bar(x, y, x2, y2, 0);
    41         screen->bar(x, y, x2 - 3, y2, sc + num);
     40        screen->Bar(vec2i(x, y), vec2i(x2, y2), 0);
     41        screen->Bar(vec2i(x, y), vec2i(x2 - 3, y2), sc + num);
    4242        if(active)
    4343        {
    44             screen->rectangle(x, y, x2, y2, 255);
     44            screen->Rectangle(vec2i(x, y), vec2i(x2, y2), 255);
    4545        }
    4646    }
Note: See TracChangeset for help on using the changeset viewer.