annotate callbacks.h @ 13:13bc21684b8a

added zooming with buttons
author meillo@marmaro.de
date Thu, 04 Mar 2010 17:05:38 +0100
parents c18ba4ea1514
children da18f2d4f92f
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
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
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
14
11
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 7
diff changeset
15 static void ratio_optionmenu_changed_cb(GtkOptionMenu* optionmenu, gpointer unser_data);
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 7
diff changeset
16 static void ratio_value_changed_cb(GtkSpinButton* spin, gpointer unser_data);
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 7
diff changeset
17 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
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
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
27
7
ec2d11d96fb0 image is now gdk-pixbuff; zoom implemented in a basic way
meillo@marmaro.de
parents: 4
diff changeset
28 void on_cropper_window_create(GtkObject* object, gpointer user_data);
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
29 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
30 /*gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data);*/
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
31
7
ec2d11d96fb0 image is now gdk-pixbuff; zoom implemented in a basic way
meillo@marmaro.de
parents: 4
diff changeset
32 void on_zoom_in_button_clicked(GtkObject* object, gpointer user_data);
ec2d11d96fb0 image is now gdk-pixbuff; zoom implemented in a basic way
meillo@marmaro.de
parents: 4
diff changeset
33 void on_zoom_out_button_clicked(GtkObject* object, gpointer user_data);
ec2d11d96fb0 image is now gdk-pixbuff; zoom implemented in a basic way
meillo@marmaro.de
parents: 4
diff changeset
34 void on_zoom_100_button_clicked(GtkObject* object, gpointer user_data);
ec2d11d96fb0 image is now gdk-pixbuff; zoom implemented in a basic way
meillo@marmaro.de
parents: 4
diff changeset
35 void on_zoom_fit_button_clicked(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
36
13
13bc21684b8a added zooming with buttons
meillo@marmaro.de
parents: 11
diff changeset
37 gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata);
13bc21684b8a added zooming with buttons
meillo@marmaro.de
parents: 11
diff changeset
38
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
39 #endif