[cairo-commit] goocanvas ChangeLog,1.42,1.43 TODO,1.14,1.15

Damon Chaplin commit at pdx.freedesktop.org
Wed Jul 26 08:45:45 PDT 2006


Committed by: damon

Update of /cvs/cairo/goocanvas
In directory kemper:/tmp/cvs-serv30992

Modified Files:
	ChangeLog TODO 
Log Message:
2006-07-26  Damon Chaplin  <damon at gnome.org>

	* src/goocanvasgroup.[hc]: added goo_canvas_group_set_model() function,
	to set the model of the root group.
	* src/goocanvasmodelsimple.c (goo_canvas_model_simple_init): use the
	above function.

	* src/goocanvas*view.c: support an optional transformation matrix for
	each view, which is combined with the underlying item's transform.
	(I'm not sure if this will overcomplicate things.)

	* src/goocanvasgroupview.c: support generic GooCanvasItems as the
	underlying group rather than just GooCanvasGroups. This allows us to
	use subclasses of GooCanvasGroupView easily.
	(goo_canvas_group_view_set_group): new function to set the underlying
	group item, creating child views and setting up signal handlers etc.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- ChangeLog	26 Jul 2006 15:08:19 -0000	1.42
+++ ChangeLog	26 Jul 2006 15:45:42 -0000	1.43
@@ -1,5 +1,10 @@
 2006-07-26  Damon Chaplin  <damon at gnome.org>
 
+	* src/goocanvasgroup.[hc]: added goo_canvas_group_set_model() function,
+	to set the model of the root group.
+	* src/goocanvasmodelsimple.c (goo_canvas_model_simple_init): use the
+	above function.
+
 	* src/goocanvas*view.c: support an optional transformation matrix for
 	each view, which is combined with the underlying item's transform.
 	(I'm not sure if this will overcomplicate things.)

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- TODO	8 Jun 2006 08:45:26 -0000	1.14
+++ TODO	26 Jul 2006 15:45:42 -0000	1.15
@@ -3,7 +3,11 @@
 
  o Demo text layout is changing when scale is 0.65. Maybe bug 341481.
  o Text item view bounds should use ink rect.
- o I don't think we set the root group's model anywhere.
+
+ o Emit item view signals on canvas view instead of item views?
+   Currently setting up signal handlers is a bit awkward, and this would get
+   rid of that. But the signal handler code would probably have to do a big
+   switch {} on all the item views. (Just as the signal setup code does now.)
 
 
 Features definitely needed:



More information about the cairo-commit mailing list