Ignore:
Timestamp:
May 14, 2011, 3:06:23 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: make some Image methods use vec2i.

File:
1 edited

Legend:

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

    r644 r650  
    392392    {
    393393      if (!active)
    394         screen->PutImage(visual, x, y);
     394        screen->PutImage(visual, vec2i(x, y));
    395395      else
    396         screen->PutImage(pressed, x, y);
    397     } else screen->PutImage(act_pict, x, y);
     396        screen->PutImage(pressed, vec2i(x, y));
     397    } else screen->PutImage(act_pict, vec2i(x, y));
    398398  }
    399399  else
     
    425425        wm->font()->put_string(screen,x+3,y+4,text);
    426426      }
    427       else screen->PutImage(visual, x + 3, y + 3, 1);
     427      else screen->PutImage(visual, vec2i(x + 3, y + 3), 1);
    428428    } else
    429429    {
     
    434434      screen->bar(x1+1,y1+1,x2-1,y2-1,wm->medium_color());
    435435      if (visual)
    436         screen->PutImage(visual, x1 + 3, y1 + 3, 1);
     436        screen->PutImage(visual, vec2i(x1 + 3, y1 + 3), 1);
    437437      else
    438438      {
Note: See TracChangeset for help on using the changeset viewer.