annotate main.h @ 16:88b8856fccf5

merged callbacks.h in main.h
author meillo@marmaro.de
date Thu, 04 Mar 2010 19:20:41 +0100
parents 13bc21684b8a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e359bea4c8ac added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
diff changeset
1 #include <gtk/gtk.h>
e359bea4c8ac added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
diff changeset
2
e359bea4c8ac added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
diff changeset
3 GtkWidget* cropper_window;
4
2f11ab3e6047 added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents: 2
diff changeset
4 char* image_filename;
2
e359bea4c8ac added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
diff changeset
5
9
7e1cf00de1df completely refactored makefile; removed interface.h
meillo@marmaro.de
parents: 4
diff changeset
6 /* from interface.h */
7e1cf00de1df completely refactored makefile; removed interface.h
meillo@marmaro.de
parents: 4
diff changeset
7 GtkWidget* create_cropper_window(void);
11
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 10
diff changeset
8 GtkWidget* image_area;
c18ba4ea1514 just cosmetic changes
meillo@marmaro.de
parents: 10
diff changeset
9 GdkPixbuf* image_buffer;
9
7e1cf00de1df completely refactored makefile; removed interface.h
meillo@marmaro.de
parents: 4
diff changeset
10
13
13bc21684b8a added zooming with buttons
meillo@marmaro.de
parents: 11
diff changeset
11 int w, h, x, y;
13bc21684b8a added zooming with buttons
meillo@marmaro.de
parents: 11
diff changeset
12
16
88b8856fccf5 merged callbacks.h in main.h
meillo@marmaro.de
parents: 13
diff changeset
13 /* from callbacks.h */
88b8856fccf5 merged callbacks.h in main.h
meillo@marmaro.de
parents: 13
diff changeset
14 double ratio;
88b8856fccf5 merged callbacks.h in main.h
meillo@marmaro.de
parents: 13
diff changeset
15
88b8856fccf5 merged callbacks.h in main.h
meillo@marmaro.de
parents: 13
diff changeset
16 void crop(void);
88b8856fccf5 merged callbacks.h in main.h
meillo@marmaro.de
parents: 13
diff changeset
17 gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata);
88b8856fccf5 merged callbacks.h in main.h
meillo@marmaro.de
parents: 13
diff changeset
18 void on_cropper_window_create(GtkObject* object, gpointer user_data);
88b8856fccf5 merged callbacks.h in main.h
meillo@marmaro.de
parents: 13
diff changeset
19 void on_cropper_window_destroy(GtkObject* object, gpointer user_data);