projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use cairo for drawing
[projects/chimara/chimara.git]
/
libchimara
/
graphics.h
diff --git
a/libchimara/graphics.h
b/libchimara/graphics.h
index fe39694c3591205161e38d150168d7bf0a1c395d..5ca8c609e72b93b182e07877f9779776417b809c 100644
(file)
--- a/
libchimara/graphics.h
+++ b/
libchimara/graphics.h
@@
-21,7
+21,8
@@
struct image_info {
gboolean scaled;
};
gboolean scaled;
};
-void on_graphics_size_allocate(GtkWidget *widget, GtkAllocation *allocation, winid_t win);
+gboolean on_graphics_configure(GtkWidget *widget, GdkEventConfigure *event, winid_t win);
+gboolean on_graphics_draw(GtkWidget *widget, cairo_t *cr, winid_t win);
void clear_image_cache(struct image_info *data, gpointer user_data);
#endif
void clear_image_cache(struct image_info *data, gpointer user_data);
#endif