Mercurial > cropper
annotate callbacks.h @ 3:6aaba3a61563
added ratio control code
author | meillo@marmaro.de |
---|---|
date | Wed, 05 Dec 2007 00:08:39 +0100 |
parents | e359bea4c8ac |
children | 2f11ab3e6047 |
rev | line source |
---|---|
0 | 1 #include <gtk/gtk.h> |
2 | |
3 | 3 double ratio; |
0 | 4 |
2
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
5 void on_ratio_none_activate(GtkMenuItem* menuitem, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
6 void on_ratio_square_activate(GtkMenuItem* menuitem, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
7 void on_ratio_4x3_activate(GtkMenuItem* menuitem, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
8 void on_ratio_3x2_activate(GtkMenuItem* menuitem, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
9 void on_ratio_custom_activate(GtkMenuItem* menuitem, gpointer user_data); |
0 | 10 |
2
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
11 void on_ratio_w_spinbutton_value_changed(GtkSpinButton* spinbutton, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
12 void on_ratio_w_spinbutton_change_value(GtkSpinButton* spinbutton, GtkScrollType scroll, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
13 void on_ratio_h_spinbutton_change_value(GtkSpinButton* spinbutton, GtkScrollType scroll, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
14 void on_ratio_h_spinbutton_value_changed(GtkSpinButton* spinbutton, gpointer user_data); |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
15 void on_ratio_swap_button_clicked(GtkButton* button, gpointer user_data); |
0 | 16 |
1 | 17 void on_cropper_window_destroy(GtkObject* object, gpointer user_data); |
18 gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data); | |
0 | 19 |