annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
4 #include <gtk/gtk.h>
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
5
3
6aaba3a61563 added ratio control code
meillo@marmaro.de
parents: 2
diff changeset
6 double ratio;
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
7
14
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
8 void crop(void);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
9 gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
10 void on_cropper_window_create(GtkObject* object, gpointer user_data);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
11 void on_cropper_window_destroy(GtkObject* object, gpointer user_data);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
12
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
13
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
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 /*
14
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
16 gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
17
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
18 void on_zoom_in_button_clicked(GtkObject* object, gpointer user_data);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
19 void on_zoom_out_button_clicked(GtkObject* object, gpointer user_data);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
20 void on_zoom_100_button_clicked(GtkObject* object, gpointer user_data);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
21 void on_zoom_fit_button_clicked(GtkObject* object, gpointer user_data);
da18f2d4f92f removed all buttons and stuff from the window; cleaned up
meillo@marmaro.de
parents: 13
diff changeset
22
2
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_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
24 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
25 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
26 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
27 void on_ratio_custom_activate(GtkMenuItem* menuitem, gpointer user_data);
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
28
11
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 7
diff changeset
29 static void ratio_optionmenu_changed_cb(GtkOptionMenu* optionmenu, gpointer unser_data);
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 7
diff changeset
30 static void ratio_value_changed_cb(GtkSpinButton* spin, gpointer unser_data);
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 7
diff changeset
31 static void ratio_swap_button_cb(GtkButton* button, gpointer unser_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
32
2
e359bea4c8ac added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents: 1
diff changeset
33 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
34 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
35 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
36 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
37 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
38 */
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
39
13
13bc21684b8a added zooming with buttons
meillo@marmaro.de
parents: 11
diff changeset
40
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
41 #endif