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

    r671 r682  
    5858      int x1,y1,x2,y2;
    5959      area(x1,y1,x2,y2);
    60       screen->Bar(vec2i(x1, y1), vec2i(x2, y2), wm->medium_color());
     60      screen->Bar(ivec2(x1, y1), ivec2(x2, y2), wm->medium_color());
    6161
    6262      char st[200],curdir[200];
     
    9696{
    9797    if (active)
    98         screen->Bar(vec2i(x, y),
    99                     vec2i(x + item_width() - 1, y + item_height() - 1),
     98        screen->Bar(ivec2(x, y),
     99                    ivec2(x + item_width() - 1, y + item_height() - 1),
    100100                    wm->black());
    101101
     
    106106        sprintf(dest = st, "<%s>", d[num]);
    107107
    108     wm->font()->PutString(screen, vec2i(x, y), dest, wm->bright_color());
     108    wm->font()->PutString(screen, ivec2(x, y), dest, wm->bright_color());
    109109}
    110110
     
    134134  int wh2 = 5 + wm->font()->Size().y + 5;
    135135  int wh3 = wh2 + wm->font()->Size().y + 12;
    136   Jwindow *j=wm->CreateWindow(vec2i(0), vec2i(-1),
     136  Jwindow *j=wm->CreateWindow(ivec2(0), ivec2(-1),
    137137                new info_field(5, 5, 0, prompt,
    138138                            new text_field(0, wh2, filename_id,
Note: See TracChangeset for help on using the changeset viewer.