Ignore:
Timestamp:
Apr 20, 2011, 12:39:27 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: use vec2i for image::size and unroll all necessary changes
everywhere else in the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/gui.cpp

    r494 r512  
    1010
    1111#include "config.h"
     12
     13#include "common.h"
    1214
    1315#include "cache.h"
     
    135137{
    136138  x1=x; y1=y;
    137   x2=x+cache.img(u)->width()-1;
    138   y2=y+cache.img(u)->height()-1;
     139  x2=x+cache.img(u)->Size().x-1;
     140  y2=y+cache.img(u)->Size().y-1;
    139141}
    140142
Note: See TracChangeset for help on using the changeset viewer.