diff options
author | Bert <ber.t@gmx.com> | 2011-01-28 13:34:16 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-28 13:34:16 +0100 |
commit | 8123d63c5b76909ce70f09614ac0e45760a69d71 (patch) | |
tree | d45e42d2b1879b88b94a03335998d6f5d9174449 /image.h | |
parent | 17e2a795bbcdbf9bc8eb07e2aaca0a494871b9e8 (diff) |
Added plenty lots of options
Diffstat (limited to 'image.h')
-rw-r--r-- | image.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -21,11 +21,11 @@ #include "window.h" -enum scalemode { +typedef enum scalemode_e { SCALE_DOWN = 0, SCALE_FIT, SCALE_ZOOM -}; +} scalemode_t; typedef enum pandir_e { PAN_LEFT = 0, @@ -52,6 +52,9 @@ void img_free(img_t*); int img_load(img_t*, const char*); void img_render(img_t*, win_t*); +int img_fit(img_t*, win_t*); +void img_center(img_t*, win_t*); + int img_zoom_in(img_t*); int img_zoom_out(img_t*); |