aboutsummaryrefslogtreecommitdiff
path: root/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'image.h')
-rw-r--r--image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/image.h b/image.h
index d82fd74..3771790 100644
--- a/image.h
+++ b/image.h
@@ -13,11 +13,11 @@ enum scale_mode {
GtkWidget *image;
GdkPixbuf *pixbuf;
GdkPixbuf *curr_pixbuf;
-int pixbuf_width, pixbuf_height;
+int pixbuf_width, pixbuf_height, curr_pixbuf_width, curr_pixbuf_height;
double aspect_ratio;
double curr_zoom;
-GtkWidget* new_image();
+GtkWidget *new_image();
int load_image(char *file_name, int win_width, int win_height);
void fit_image(int win_width, int win_height);
void zoom(int type);