Ignore:
Timestamp:
May 15, 2011, 6:22:08 AM (12 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/jwindow.h

    r653 r655  
    100100    virtual void redraw();
    101101    void resize(int L, int H);
    102     void clear(int color = 0) { m_surf->bar(x1(), y1(), x2(), y2(), color); }
     102    void clear(int color = 0) { m_surf->Bar(vec2i(x1(), y1()),
     103                                            vec2i(x2(), y2()), color); }
    103104    void show() { _hidden = false; }
    104105    void hide() { _hidden = true; }
Note: See TracChangeset for help on using the changeset viewer.