From 02f7a54e67260ee7995c6cd9bf40ae784b60203d Mon Sep 17 00:00:00 2001 From: nirav Date: Wed, 5 Sep 2018 00:35:24 +0530 Subject: Added image panning support, refactoring --- image.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'image.h') diff --git a/image.h b/image.h index 3771790..e58afd7 100644 --- a/image.h +++ b/image.h @@ -18,8 +18,8 @@ double aspect_ratio; double curr_zoom; GtkWidget *new_image(); -int load_image(char *file_name, int win_width, int win_height); -void fit_image(int win_width, int win_height); +int load_image(char *file_name); +void fit_image(); void zoom(int type); void print_supported_formats(); -- cgit v1.2.3