[cairo-commit] goocanvas/demo demo-item.c,1.3,1.4
Damon Chaplin
commit at pdx.freedesktop.org
Sat Feb 17 05:48:43 PST 2007
- Previous message: [cairo-commit] src/cairo-truetype-subset-private.h
- Next message: [cairo-commit]
goocanvas ChangeLog, 1.77, 1.78 NEWS, 1.4, 1.5 README,
1.6, 1.7 TODO, 1.23, 1.24 configure.in, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: damon
Update of /cvs/cairo/goocanvas/demo
In directory kemper:/tmp/cvs-serv8775/demo
Modified Files:
demo-item.c
Log Message:
2007-02-17 Damon Chaplin <damon at gnome.org>
* Released GooCanvas 0.6
2007-02-17 Damon Chaplin <damon at gnome.org>
* src/goocanvasitemsimple.h (struct _GooCanvasItemSimpleClass): renamed
create_path, update, paint and get_item_at class methods to
simple_create_path, simple_update, simple_paint and simple_get_item_at.
This avoids confusion with the GooCanvasItem interface methods with the
same name (and may avoid problems with language bindings etc.)
* src/goocanvasellipse.c (goo_canvas_ellipse_class_init):
* src/goocanvasimage.c (goo_canvas_image_class_init):
* src/goocanvaspath.c (goo_canvas_path_class_init):
* src/goocanvaspolyline.c (goo_canvas_polyline_class_init):
* src/goocanvasrect.c (goo_canvas_rect_class_init):
* src/goocanvastext.c (goo_canvas_text_class_init):
* src/goocanvaswidget.c (goo_canvas_widget_class_init):
* demo/demo-item.c (goo_demo_item_class_init):
* src/goocanvasitemsimple.c: updated use of above class methods.
* src/goocanvasgroup.c (goo_canvas_group_update): handle children with
empty bounds (i.e. ignore their bounds when computing the group's
bounds).
* src/goocanvastable.c (goo_canvas_table_paint)
(goo_canvas_table_get_item_at):
* src/goocanvasgroup.c (goo_canvas_group_get_item_at)
(goo_canvas_group_paint): don't check the
child bounds here. Leave it up to the children to do that.
* src/goocanvasitemsimple.c (goo_canvas_item_simple_get_item_at)
(goo_canvas_item_simple_paint): check the item's bounds here.
Index: demo-item.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/demo-item.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- demo-item.c 9 Feb 2007 13:41:03 -0000 1.3
+++ demo-item.c 17 Feb 2007 13:48:37 -0000 1.4
@@ -131,9 +131,9 @@
{
GooCanvasItemSimpleClass *simple_class = (GooCanvasItemSimpleClass*) klass;
- simple_class->update = goo_demo_item_update;
- simple_class->paint = goo_demo_item_paint;
- simple_class->get_item_at = goo_demo_item_get_item_at;
+ simple_class->simple_update = goo_demo_item_update;
+ simple_class->simple_paint = goo_demo_item_paint;
+ simple_class->simple_get_item_at = goo_demo_item_get_item_at;
}
- Previous message: [cairo-commit] src/cairo-truetype-subset-private.h
- Next message: [cairo-commit]
goocanvas ChangeLog, 1.77, 1.78 NEWS, 1.4, 1.5 README,
1.6, 1.7 TODO, 1.23, 1.24 configure.in, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list