cropper

annotate 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
rev   line source
meillo@2 1 #include <gtk/gtk.h>
meillo@2 2
meillo@2 3 GtkWidget* cropper_window;
meillo@4 4 char* image_filename;
meillo@2 5
meillo@9 6 /* from interface.h */
meillo@9 7 GtkWidget* create_cropper_window(void);
meillo@11 8 GtkWidget* image_area;
meillo@11 9 GdkPixbuf* image_buffer;
meillo@9 10
meillo@13 11 int w, h, x, y;
meillo@13 12
meillo@16 13 /* from callbacks.h */
meillo@16 14 double ratio;
meillo@16 15
meillo@16 16 void crop(void);
meillo@16 17 gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata);
meillo@16 18 void on_cropper_window_create(GtkObject* object, gpointer user_data);
meillo@16 19 void on_cropper_window_destroy(GtkObject* object, gpointer user_data);