aboutsummaryrefslogtreecommitdiff
path: root/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'image.h')
-rw-r--r--image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/image.h b/image.h
index 19ee37f..51593e6 100644
--- a/image.h
+++ b/image.h
@@ -43,8 +43,8 @@ typedef struct {
int h;
win_t *win;
- int x;
- int y;
+ float x;
+ float y;
scalemode_t scalemode;
float zoom;
@@ -75,7 +75,7 @@ bool img_zoom(img_t*, float);
bool img_zoom_in(img_t*);
bool img_zoom_out(img_t*);
-bool img_move(img_t*, int, int);
+bool img_move(img_t*, float, float);
bool img_pan(img_t*, direction_t, int);
bool img_pan_edge(img_t*, direction_t);