Ignore:
Timestamp:
Sep 12, 2011, 10:17:23 PM (11 years ago)
Author:
Sam Hocevar
Message:

core: rename vec2i to ivec2 and update matrix.h from Lol Engine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/input.h

    r668 r682  
    4949  void press_button(int id);      // if button box doesn't contain id, nothing happens
    5050  virtual void remap(Filter *f);
    51   virtual void Move(vec2i pos);
     51  virtual void Move(ivec2 pos);
    5252  virtual void area(int &x1, int &y1, int &x2, int &y2);
    5353  virtual void draw_first(image *screen);
     
    7272  void draw_text(image *screen)
    7373  {
    74     screen->Bar(vec2i(xstart() + 1, m_pos.y + 1), vec2i(xend() - 1, yend() - 1),
     74    screen->Bar(ivec2(xstart() + 1, m_pos.y + 1), ivec2(xend() - 1, yend() - 1),
    7575                wm->dark_color());
    76     wm->font()->PutString(screen, vec2i(xstart() + 1, m_pos.y + 3), data);
     76    wm->font()->PutString(screen, ivec2(xstart() + 1, m_pos.y + 3), data);
    7777  }
    7878public :
Note: See TracChangeset for help on using the changeset viewer.