Mercurial > MadButterfly
diff include/mb_img_ldr.h @ 268:43900cae1d49
Support resizing for image.
- Programmers can change size of image that showed on the output device.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 24 Jan 2009 18:19:02 +0800 |
parents | 29acbd8a0dd0 |
children | 586e50f82c1f |
line wrap: on
line diff
--- a/include/mb_img_ldr.h Sat Jan 24 15:23:42 2009 +0800 +++ b/include/mb_img_ldr.h Sat Jan 24 18:19:02 2009 +0800 @@ -22,7 +22,7 @@ struct _mb_img_data { /*! \brief Content of the image. */ void *content; - int width, height; + int w, h; int stride; /*!< \brief Number of bytes a row */ mb_img_fmt_t fmt; /*! \brief Release the image that was loaded by the loader. */