diff options
| author | nirav <nirav@teisuu.com> | 2018-09-03 23:38:29 +0530 |
|---|---|---|
| committer | Dandelion <nirav@teisuu.com> | 2018-09-03 23:38:29 +0530 |
| commit | 28e58ba0dbf30a4a28465f460c67e1c4337bd3a4 (patch) | |
| tree | 05560d10e0e57eaec40884d6cc716d9b24209c78 /image.h | |
| parent | 586ba5950efd8badf8364c6f2a9693e2f1800e32 (diff) | |
| download | im-28e58ba0dbf30a4a28465f460c67e1c4337bd3a4.tar.gz im-28e58ba0dbf30a4a28465f460c67e1c4337bd3a4.zip | |
Fixed zoom
Diffstat (limited to 'image.h')
| -rw-r--r-- | image.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
