Mercurial > cropper
annotate callbacks.h @ 6:f53ce3b28bb4
mercurial ignores JPG and PNG now, so I can store them in this directory for testing
author | meillo@marmaro.de |
---|---|
date | Fri, 07 Dec 2007 21:38:25 +0100 |
parents | 2f11ab3e6047 |
children | ec2d11d96fb0 |
rev | line source |
---|---|
4
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
1 #ifndef _CALLBACKS_H_ |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
2 #define _CALLBACKS_H_ |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
3 |
0 | 4 #include <gtk/gtk.h> |
5 | |
3 | 6 double ratio; |
0 | 7 |
4
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
8 /* |
2
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_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
|
10 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
|
11 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
|
12 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
|
13 void on_ratio_custom_activate(GtkMenuItem* menuitem, gpointer user_data); |
0 | 14 |
4
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
15 static void ratio_optionmenu_changed_cb (GtkOptionMenu* optionmenu, gpointer unser_data); |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
16 static void ratio_value_changed_cb (GtkSpinButton* spin, gpointer unser_data); |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
17 static void ratio_swap_button_cb (GtkButton* button, gpointer unser_data); |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
18 |
2
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
1
diff
changeset
|
19 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
|
20 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
|
21 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
|
22 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
|
23 void on_ratio_swap_button_clicked(GtkButton* button, gpointer user_data); |
4
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
24 */ |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
25 |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
26 void on_crop_clicked(GtkButton* button, gpointer user_data); |
0 | 27 |
1 | 28 void on_cropper_window_destroy(GtkObject* object, gpointer user_data); |
4
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
29 /*gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data);*/ |
0 | 30 |
4
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
31 |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
32 #endif |