cropper
view main.h @ 16:88b8856fccf5
merged callbacks.h in main.h
author | meillo@marmaro.de |
---|---|
date | Thu, 04 Mar 2010 19:20:41 +0100 |
parents | 13bc21684b8a |
children |
line source
1 #include <gtk/gtk.h>
3 GtkWidget* cropper_window;
4 char* image_filename;
6 /* from interface.h */
7 GtkWidget* create_cropper_window(void);
8 GtkWidget* image_area;
9 GdkPixbuf* image_buffer;
11 int w, h, x, y;
13 /* from callbacks.h */
14 double ratio;
16 void crop(void);
17 gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata);
18 void on_cropper_window_create(GtkObject* object, gpointer user_data);
19 void on_cropper_window_destroy(GtkObject* object, gpointer user_data);