aboutsummaryrefslogtreecommitdiff
path: root/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'image.h')
-rw-r--r--image.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/image.h b/image.h
index e422384..1c25f63 100644
--- a/image.h
+++ b/image.h
@@ -36,9 +36,9 @@ typedef enum pandir_e {
typedef struct img_s {
float zoom;
+ scalemode_t scalemode;
unsigned char re;
unsigned char checkpan;
- unsigned char zoomed;
unsigned char aa;
int x;
int y;
@@ -54,9 +54,10 @@ int img_load(img_t*, const char*);
void img_render(img_t*, win_t*);
-int img_fit(img_t*, win_t*);
+int img_fit(img_t*, win_t*, unsigned char);
int img_center(img_t*, win_t*);
+int img_zoom(img_t*, float);
int img_zoom_in(img_t*);
int img_zoom_out(img_t*);