cropper
diff callbacks.h @ 14:da18f2d4f92f
removed all buttons and stuff from the window; cleaned up
author | meillo@marmaro.de |
---|---|
date | Thu, 04 Mar 2010 18:31:28 +0100 |
parents | 13bc21684b8a |
children |
line diff
1.1 --- a/callbacks.h Thu Mar 04 17:05:38 2010 +0100 1.2 +++ b/callbacks.h Thu Mar 04 18:31:28 2010 +0100 1.3 @@ -5,7 +5,21 @@ 1.4 1.5 double ratio; 1.6 1.7 +void crop(void); 1.8 +gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata); 1.9 +void on_cropper_window_create(GtkObject* object, gpointer user_data); 1.10 +void on_cropper_window_destroy(GtkObject* object, gpointer user_data); 1.11 + 1.12 + 1.13 + 1.14 /* 1.15 +gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data); 1.16 + 1.17 +void on_zoom_in_button_clicked(GtkObject* object, gpointer user_data); 1.18 +void on_zoom_out_button_clicked(GtkObject* object, gpointer user_data); 1.19 +void on_zoom_100_button_clicked(GtkObject* object, gpointer user_data); 1.20 +void on_zoom_fit_button_clicked(GtkObject* object, gpointer user_data); 1.21 + 1.22 void on_ratio_none_activate(GtkMenuItem* menuitem, gpointer user_data); 1.23 void on_ratio_square_activate(GtkMenuItem* menuitem, gpointer user_data); 1.24 void on_ratio_4x3_activate(GtkMenuItem* menuitem, gpointer user_data); 1.25 @@ -23,17 +37,5 @@ 1.26 void on_ratio_swap_button_clicked(GtkButton* button, gpointer user_data); 1.27 */ 1.28 1.29 -void on_crop_clicked(GtkButton* button, gpointer user_data); 1.30 - 1.31 -void on_cropper_window_create(GtkObject* object, gpointer user_data); 1.32 -void on_cropper_window_destroy(GtkObject* object, gpointer user_data); 1.33 -/*gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data);*/ 1.34 - 1.35 -void on_zoom_in_button_clicked(GtkObject* object, gpointer user_data); 1.36 -void on_zoom_out_button_clicked(GtkObject* object, gpointer user_data); 1.37 -void on_zoom_100_button_clicked(GtkObject* object, gpointer user_data); 1.38 -void on_zoom_fit_button_clicked(GtkObject* object, gpointer user_data); 1.39 - 1.40 -gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata); 1.41 1.42 #endif