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

    r644 r655  
    108108    int fw=fnt->width(),fh=fnt->height();
    109109    int dx=wx()+x*fw,dy=wy()+y*fh;
    110     con_win->m_surf->bar(dx,dy,dx+fw-1,dy+fh-1,wm->black());
     110    con_win->m_surf->Bar(vec2i(dx, dy), vec2i(dx + fw - 1, dy + fh - 1),
     111                         wm->black());
    111112    fnt->put_char(con_win->m_surf,dx,dy,ch);
    112113  }
Note: See TracChangeset for help on using the changeset viewer.