[cairo-commit] goocanvas ChangeLog,1.6,1.7 TODO,1.6,1.7

Damon Chaplin commit at pdx.freedesktop.org
Sat Apr 8 06:14:19 PDT 2006


Committed by: damon

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

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

	* src/goocanvasitemsimple.[hc]: 
	* src/goocanvasgroup.[hc]: added "pointer-events" property, like SVG.

	* src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds): 
	changed to include both the stroke and fill extents, even if they will
	not be painted. This is needed to handle the "pointer-events" property.

	* src/goocanvasitemsimple.c (goo_canvas_item_simple_check_in_path): 
	added "pointer_events" argument, to specify which parts of the path
	to check.

	* src/goocanvasitemview.[hc]: change get_item_at() to take
	"is_pointer_event", "parent_visible", and "scale" properties, so we
	can handle the "pointer-events" property.

	* src/goocanvasgroupview.c (goo_canvas_group_view_get_item_at): 
	* src/goocanvasellipseview.c (goo_canvas_ellipse_view_get_item_at): 
	* src/goocanvasimageview.c (goo_canvas_image_view_get_item_at): 
	* src/goocanvaspolylineview.c (goo_canvas_polyline_view_get_item_at): 
	* src/goocanvasrectview.c (goo_canvas_rect_view_get_item_at): 
	* src/goocanvastextview.c (goo_canvas_text_view_get_item_at): updated
	to support "pointer-events".

	* src/goocanvasutils.[hc]: added GooCanvasPointerEvents enum, and
	goo_cairo_line_dash_new().

	* src/demo-events.c: new demo page to test "pointer-events" property.

	* src/goocanvastextview.c (goo_canvas_text_view_paint): if the fill
	pattern	has been explicitly set to NULL, don't paint the text.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ChangeLog	3 Apr 2006 11:24:02 -0000	1.6
+++ ChangeLog	8 Apr 2006 13:14:17 -0000	1.7
@@ -1,3 +1,36 @@
+2006-04-08  Damon Chaplin  <damon at gnome.org>
+
+	* src/goocanvasitemsimple.[hc]: 
+	* src/goocanvasgroup.[hc]: added "pointer-events" property, like SVG.
+
+	* src/goocanvasitemsimple.c (goo_canvas_item_simple_get_path_bounds): 
+	changed to include both the stroke and fill extents, even if they will
+	not be painted. This is needed to handle the "pointer-events" property.
+
+	* src/goocanvasitemsimple.c (goo_canvas_item_simple_check_in_path): 
+	added "pointer_events" argument, to specify which parts of the path
+	to check.
+
+	* src/goocanvasitemview.[hc]: change get_item_at() to take
+	"is_pointer_event", "parent_visible", and "scale" properties, so we
+	can handle the "pointer-events" property.
+
+	* src/goocanvasgroupview.c (goo_canvas_group_view_get_item_at): 
+	* src/goocanvasellipseview.c (goo_canvas_ellipse_view_get_item_at): 
+	* src/goocanvasimageview.c (goo_canvas_image_view_get_item_at): 
+	* src/goocanvaspolylineview.c (goo_canvas_polyline_view_get_item_at): 
+	* src/goocanvasrectview.c (goo_canvas_rect_view_get_item_at): 
+	* src/goocanvastextview.c (goo_canvas_text_view_get_item_at): updated
+	to support "pointer-events".
+
+	* src/goocanvasutils.[hc]: added GooCanvasPointerEvents enum, and
+	goo_cairo_line_dash_new().
+
+	* src/demo-events.c: new demo page to test "pointer-events" property.
+
+	* src/goocanvastextview.c (goo_canvas_text_view_paint): if the fill
+	pattern	has been explicitly set to NULL, don't paint the text.
+
 2006-04-03  Damon Chaplin  <damon at gnome.org>
 
 	* src/goocanvasview.c (goo_canvas_view_style_set) 

Index: TODO
===================================================================
RCS file: /cvs/cairo/goocanvas/TODO,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- TODO	3 Apr 2006 11:24:02 -0000	1.6
+++ TODO	8 Apr 2006 13:14:17 -0000	1.7
@@ -1,14 +1,12 @@
 
 Features definitely needed:
 
- 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 Sticky items that don't move at all as the canvas is scrolled & zoomed.
  o GooCanvasPath item, as in SVG.
 
- o Editable text item, with the layout remaining the same at all zoom levels.
  o Accessibility - hopefully the GnomeCanvas/FooCanvas code can be reused.
+
+ o Editable text item.
+
  o Keyboard focus navigation.
 
  o API docs - functions, properties, signals, enums, structs etc.
@@ -16,6 +14,7 @@
 
 Possible additional features:
 
+ o Sticky items that don't move at all as the canvas is scrolled & zoomed.
  o Layout containers, things like a GtkTable for canvas items.
  o Clip paths/masks for items.
  o Filters like in SVG, to add graphical effects.



More information about the cairo-commit mailing list