cropper

view callbacks.h @ 4:2f11ab3e6047

added option handling; added output for convert; commented all ratio code cause it is not really important now
author meillo@marmaro.de
date Fri, 07 Dec 2007 17:40:08 +0100
parents 6aaba3a61563
children ec2d11d96fb0
line source
1 #ifndef _CALLBACKS_H_
2 #define _CALLBACKS_H_
4 #include <gtk/gtk.h>
6 double ratio;
8 /*
9 void on_ratio_none_activate(GtkMenuItem* menuitem, gpointer user_data);
10 void on_ratio_square_activate(GtkMenuItem* menuitem, gpointer user_data);
11 void on_ratio_4x3_activate(GtkMenuItem* menuitem, gpointer user_data);
12 void on_ratio_3x2_activate(GtkMenuItem* menuitem, gpointer user_data);
13 void on_ratio_custom_activate(GtkMenuItem* menuitem, gpointer user_data);
15 static void ratio_optionmenu_changed_cb (GtkOptionMenu* optionmenu, gpointer unser_data);
16 static void ratio_value_changed_cb (GtkSpinButton* spin, gpointer unser_data);
17 static void ratio_swap_button_cb (GtkButton* button, gpointer unser_data);
19 void on_ratio_w_spinbutton_value_changed(GtkSpinButton* spinbutton, gpointer user_data);
20 void on_ratio_w_spinbutton_change_value(GtkSpinButton* spinbutton, GtkScrollType scroll, gpointer user_data);
21 void on_ratio_h_spinbutton_change_value(GtkSpinButton* spinbutton, GtkScrollType scroll, gpointer user_data);
22 void on_ratio_h_spinbutton_value_changed(GtkSpinButton* spinbutton, gpointer user_data);
23 void on_ratio_swap_button_clicked(GtkButton* button, gpointer user_data);
24 */
26 void on_crop_clicked(GtkButton* button, gpointer user_data);
28 void on_cropper_window_destroy(GtkObject* object, gpointer user_data);
29 /*gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data);*/
32 #endif