diff options
author | Søren Sandmann <sandmann@redhat.com> | 2008-03-09 13:25:58 -0400 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2008-03-09 13:25:58 -0400 |
commit | 561fd985b13fcc35ae73af5d91d98b2f540d8821 (patch) | |
tree | 2e899149e1e91b628511bb66a32d7d49f8e29f6a /window.h | |
parent | be2423531636f0c81cdd1aa909550f4c86568db0 (diff) |
multi-window support
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -6,24 +6,15 @@ #define GLADE_FILE "siv.glade" typedef struct Window Window; -struct Window -{ - GladeXML * xml; - GdkPixbuf * original; - GdkPixbuf * displayed; +typedef struct App App; - int width; - int height; - int zoom_level; - gboolean first; +void app_register_window (App *app, Window *window); +void app_unregister_window (App *app, Window *window); - GtkAllocation allocation; -}; - - -Window * window_new (void); +Window * window_new (App *app); gboolean window_load_file (Window *window, const char *file, GError **err); void window_show (Window *window); +void window_free (Window *window); |