diff options
author | nirav <nirav@teisuu.com> | 2018-09-28 07:57:47 +0530 |
---|---|---|
committer | Dandelion <nirav@teisuu.com> | 2018-09-28 08:09:37 +0530 |
commit | 51d91d63181f82f605a8b9de6d280622ef697630 (patch) | |
tree | a0c24be7c674cfd8d7764e4422c30a0b1fb3d11a /src/image.h | |
parent | f667a124fedc2ac2fa11b4728c624f6e40db715f (diff) | |
download | im-51d91d63181f82f605a8b9de6d280622ef697630.tar.gz im-51d91d63181f82f605a8b9de6d280622ef697630.zip |
Refactoring
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/image.h b/src/image.h index dfbd9ff..f248924 100644 --- a/src/image.h +++ b/src/image.h @@ -8,18 +8,12 @@ enum scale_mode { fit = 0, zoomed = 1, -} curr_scale_mod; - -GtkWidget *image; -GdkPixbuf *pixbuf; -GdkPixbuf *curr_pixbuf; -int pixbuf_width, pixbuf_height, curr_pixbuf_width, curr_pixbuf_height; -double aspect_ratio; -double curr_zoom; +}; GtkWidget *new_image(); int load_image(char *file_name); void fit_image(); void zoom(int type); +enum scale_mode get_current_scale_mode(); #endif |