Mercurial > cropper
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 |
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 | 8 GtkWidget* image_area; |
9 GdkPixbuf* image_buffer; | |
9
7e1cf00de1df
completely refactored makefile; removed interface.h
meillo@marmaro.de
parents:
4
diff
changeset
|
10 |
13 | 11 int w, h, x, y; |
12 | |
16 | 13 /* from callbacks.h */ |
14 double ratio; | |
15 | |
16 void crop(void); | |
17 gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata); | |
18 void on_cropper_window_create(GtkObject* object, gpointer user_data); | |
19 void on_cropper_window_destroy(GtkObject* object, gpointer user_data); |