cropper

diff 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
line diff
     1.1 --- a/main.h	Thu Mar 04 19:16:10 2010 +0100
     1.2 +++ b/main.h	Thu Mar 04 19:20:41 2010 +0100
     1.3 @@ -1,6 +1,3 @@
     1.4 -#ifndef _MAIN_H_
     1.5 -#define _MAIN_H_
     1.6 -
     1.7  #include <gtk/gtk.h>
     1.8  
     1.9  GtkWidget* cropper_window;
    1.10 @@ -13,4 +10,10 @@
    1.11  
    1.12  int w, h, x, y;
    1.13  
    1.14 -#endif
    1.15 +/* from callbacks.h */
    1.16 +double ratio;
    1.17 +
    1.18 +void crop(void);
    1.19 +gboolean on_key_press(GtkWidget* window, GdkEventKey* pKey, gpointer userdata);
    1.20 +void on_cropper_window_create(GtkObject* object, gpointer user_data);
    1.21 +void on_cropper_window_destroy(GtkObject* object, gpointer user_data);