Changeset 527 for abuse/trunk/src/objects.h
- Timestamp:
- Apr 22, 2011, 4:13:04 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/objects.h
r494 r527 127 127 void picture_space(int32_t &x1, int32_t &y1,int32_t &x2, int32_t &y2); 128 128 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; } 130 130 void defaults(); 131 131
Note: See TracChangeset
for help on using the changeset viewer.