goocanvas r26 - in trunk: . docs src
- From: damon svn gnome org
- To: svn-commits-list gnome org
- Subject: goocanvas r26 - in trunk: . docs src
- Date: Mon, 3 Nov 2008 21:27:20 +0000 (UTC)
Author: damon
Date: Mon Nov 3 21:27:19 2008
New Revision: 26
URL: http://svn.gnome.org/viewvc/goocanvas?rev=26&view=rev
Log:
2008-11-03 Damon Chaplin <damon gnome org>
* src/goocanvas.c (emit_pointer_event): handle NULL target_item.
* src/goocanvaswidget.c: note that widgets can't be static.
* README:
* docs/overview.xml: mention static items and the grid item.
Modified:
trunk/ChangeLog
trunk/README
trunk/docs/overview.xml
trunk/src/goocanvas.c
trunk/src/goocanvaswidget.c
Modified: trunk/README
==============================================================================
--- trunk/README (original)
+++ trunk/README Mon Nov 3 21:27:19 2008
@@ -25,7 +25,7 @@
o Optional model/view split.
o Uses interfaces for items & views.
- o Basic items - rect/ellipse/polyline/text/image/group.
+ o Basic items - rect/ellipse/polyline/text/image/grid/group.
o Path item, using SVG path specification strings.
o Table item for layout of other items (similar to the GtkTable widget).
(This also supports items whose requested height changes according to
@@ -42,6 +42,7 @@
o Printing (output to a given cairo_t).
o Scrolling.
o Zooming.
+ o Static items that don't move as the canvas is scrolled or zoomed.
o Item visibility setting - on/off/above zoom threshold.
o Simple animation.
o Scalable - support for thousands of items over a large canvas area.
Modified: trunk/docs/overview.xml
==============================================================================
--- trunk/docs/overview.xml (original)
+++ trunk/docs/overview.xml Mon Nov 3 21:27:19 2008
@@ -21,7 +21,7 @@
</para></listitem><listitem><para>
Uses interfaces for items and views.
</para></listitem><listitem><para>
- Basic items - rect/ellipse/polyline/text/image/group.
+ Basic items - rect/ellipse/polyline/text/image/grid/group.
</para></listitem><listitem><para>
Path item, using SVG path specification strings.
</para></listitem><listitem><para>
@@ -51,6 +51,8 @@
</para></listitem><listitem><para>
Zooming.
</para></listitem><listitem><para>
+ Static items that don't move as the canvas is scrolled or zoomed.
+ </para></listitem><listitem><para>
Item visibility setting - on/off/above zoom threshold.
</para></listitem><listitem><para>
Simple animation.
Modified: trunk/src/goocanvas.c
==============================================================================
--- trunk/src/goocanvas.c (original)
+++ trunk/src/goocanvas.c Mon Nov 3 21:27:19 2008
@@ -2862,7 +2862,7 @@
goo_canvas_convert_from_pixels (canvas, x, y);
/* Convert to static item space, if necessary. */
- if (goo_canvas_item_get_is_static (target_item))
+ if (target_item && goo_canvas_item_get_is_static (target_item))
goo_canvas_convert_to_static_item_space (canvas, x, y);
/* Copy to the x_root & y_root fields. */
Modified: trunk/src/goocanvaswidget.c
==============================================================================
--- trunk/src/goocanvaswidget.c (original)
+++ trunk/src/goocanvaswidget.c Mon Nov 3 21:27:19 2008
@@ -26,6 +26,8 @@
* </para></listitem><listitem><para>
* It doesn't have a model/view variant like the other standard items,
* so it can only be used in a simple canvas without a model.
+ * </para></listitem><listitem><para>
+ * It can't be made a static item.
* </para></listitem></itemizedlist>
*/
#include <config.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]