Ignore:
Timestamp:
Apr 22, 2011, 4:13:04 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: some cleaning up in trans_image before I templatise half of it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/objects.h

    r494 r527  
    127127  void picture_space(int32_t &x1, int32_t &y1,int32_t &x2, int32_t &y2);
    128128  int tx(int x) { if (direction>0) return x-x_center(); else return x_center()-x; }
    129   int ty(int y) { return y-picture()->height()+1; }
     129  int ty(int y) { return y-picture()->Size().y+1; }
    130130  void defaults();
    131131
Note: See TracChangeset for help on using the changeset viewer.