[cairo-commit] goocanvas ChangeLog,1.2,1.3 TODO,1.2,1.3

Damon Chaplin commit at pdx.freedesktop.org
Thu Mar 23 08:58:50 PST 2006


Committed by: damon

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

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

	* src/goocanvasitem.c: added new "visibility" and
	"visibility-threshold" properties to specify when an item should be
	visible (always, never, or above a certain scale threshold).

	* src/goocanvasutils.[hc]: added GooCanvasItemVisibility enum stuff.

	* src/goocanvasitemsimple.[hc]: 
	* src/goocanvasgroup.[hc]: implemented new properties.

	* src/goocanvasgroupview.c (goo_canvas_group_view_paint): 
	* src/goocanvastextview.c (goo_canvas_text_view_paint): 
	* src/goocanvasrectview.c (goo_canvas_rect_view_paint): 
	* src/goocanvasimageview.c (goo_canvas_image_view_paint): 
	* src/goocanvasellipseview.c (goo_canvas_ellipse_view_paint): check
	the visibility settings to see if the items should be painted.

	* src/demo.c (setup_invisible_texts): added test for visibility
	settings.

	* src/goocanvasitem.[hc] (goo_canvas_item_create_view): removed this as
	it is mainly an internal function and the interface can be used
	directly instead where needed.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ChangeLog	23 Mar 2006 00:13:59 -0000	1.2
+++ ChangeLog	23 Mar 2006 16:58:48 -0000	1.3
@@ -1,5 +1,30 @@
 2006-03-23  Damon Chaplin  <damon at gnome.org>
 
+	* src/goocanvasitem.c: added new "visibility" and
+	"visibility-threshold" properties to specify when an item should be
+	visible (always, never, or above a certain scale threshold).
+
+	* src/goocanvasutils.[hc]: added GooCanvasItemVisibility enum stuff.
+
+	* src/goocanvasitemsimple.[hc]: 
+	* src/goocanvasgroup.[hc]: implemented new properties.
+
+	* src/goocanvasgroupview.c (goo_canvas_group_view_paint): 
+	* src/goocanvastextview.c (goo_canvas_text_view_paint): 
+	* src/goocanvasrectview.c (goo_canvas_rect_view_paint): 
+	* src/goocanvasimageview.c (goo_canvas_image_view_paint): 
+	* src/goocanvasellipseview.c (goo_canvas_ellipse_view_paint): check
+	the visibility settings to see if the items should be painted.
+
+	* src/demo.c (setup_invisible_texts): added test for visibility
+	settings.
+
+	* src/goocanvasitem.[hc] (goo_canvas_item_create_view): removed this as
+	it is mainly an internal function and the interface can be used
+	directly instead where needed.
+
+2006-03-23  Damon Chaplin  <damon at gnome.org>
+
 	* src/goocanvasview.c (goo_canvas_view_scroll_to): freeze the canvas
 	while setting the adjustments so we don't redraw twice.
 

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- TODO	22 Mar 2006 23:49:44 -0000	1.2
+++ TODO	23 Mar 2006 16:58:48 -0000	1.3
@@ -1,7 +1,8 @@
 
 Features definitely needed:
 
- o Item visibility setting, combined with zoom level setting.
+ o Event filter options, like "pointer-events" in SVG, specifying which parts
+   of an item can be a target for events and if it has to be visible.
 
  o Function to render part/all of canvas to any cairo_t.
  o get_bounds() should ensure item is updated. Check other functions as well.



More information about the cairo-commit mailing list