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/imlib/visobj.h

    r494 r512  
    3333  image_visual(image *img) { im=img; }
    3434  virtual void draw(image *screen, int x, int y, filter *f);
    35   virtual int width() { return im->width(); }
    36   virtual int height() { return im->height(); }
     35  virtual int width() { return im->Size().x; }
     36  virtual int height() { return im->Size().y; }
    3737} ;
    3838
Note: See TracChangeset for help on using the changeset viewer.