annotate 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 |
rev |
line source |
meillo@4
|
1 #ifndef _CALLBACKS_H_
|
meillo@4
|
2 #define _CALLBACKS_H_
|
meillo@4
|
3
|
meillo@0
|
4 #include <gtk/gtk.h>
|
meillo@0
|
5
|
meillo@3
|
6 double ratio;
|
meillo@0
|
7
|
meillo@4
|
8 /*
|
meillo@2
|
9 void on_ratio_none_activate(GtkMenuItem* menuitem, gpointer user_data);
|
meillo@2
|
10 void on_ratio_square_activate(GtkMenuItem* menuitem, gpointer user_data);
|
meillo@2
|
11 void on_ratio_4x3_activate(GtkMenuItem* menuitem, gpointer user_data);
|
meillo@2
|
12 void on_ratio_3x2_activate(GtkMenuItem* menuitem, gpointer user_data);
|
meillo@2
|
13 void on_ratio_custom_activate(GtkMenuItem* menuitem, gpointer user_data);
|
meillo@0
|
14
|
meillo@4
|
15 static void ratio_optionmenu_changed_cb (GtkOptionMenu* optionmenu, gpointer unser_data);
|
meillo@4
|
16 static void ratio_value_changed_cb (GtkSpinButton* spin, gpointer unser_data);
|
meillo@4
|
17 static void ratio_swap_button_cb (GtkButton* button, gpointer unser_data);
|
meillo@4
|
18
|
meillo@2
|
19 void on_ratio_w_spinbutton_value_changed(GtkSpinButton* spinbutton, gpointer user_data);
|
meillo@2
|
20 void on_ratio_w_spinbutton_change_value(GtkSpinButton* spinbutton, GtkScrollType scroll, gpointer user_data);
|
meillo@2
|
21 void on_ratio_h_spinbutton_change_value(GtkSpinButton* spinbutton, GtkScrollType scroll, gpointer user_data);
|
meillo@2
|
22 void on_ratio_h_spinbutton_value_changed(GtkSpinButton* spinbutton, gpointer user_data);
|
meillo@2
|
23 void on_ratio_swap_button_clicked(GtkButton* button, gpointer user_data);
|
meillo@4
|
24 */
|
meillo@4
|
25
|
meillo@4
|
26 void on_crop_clicked(GtkButton* button, gpointer user_data);
|
meillo@0
|
27
|
meillo@1
|
28 void on_cropper_window_destroy(GtkObject* object, gpointer user_data);
|
meillo@4
|
29 /*gboolean on_cropper_window_delete_event(GtkWidget* widget, GdkEvent *event, gpointer user_data);*/
|
meillo@0
|
30
|
meillo@4
|
31
|
meillo@4
|
32 #endif
|