From b6ea2239ffc053e66238eb8484bbc5c1ba8700ac Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 17 May 2012 02:10:15 -0700 Subject: Extended resizing to node handles. (bzr r11375) --- src/display/sp-canvas-item.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src/display') diff --git a/src/display/sp-canvas-item.h b/src/display/sp-canvas-item.h index d67c0c48d..5a9d47536 100644 --- a/src/display/sp-canvas-item.h +++ b/src/display/sp-canvas-item.h @@ -27,6 +27,7 @@ #include #include #include <2geom/rect.h> +#include "ui/control-types.h" G_BEGIN_DECLS @@ -41,24 +42,6 @@ typedef struct _SPCanvasItemClass SPCanvasItemClass; #define SP_IS_CANVAS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_CANVAS_ITEM)) #define SP_CANVAS_ITEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), SP_TYPE_CANVAS_ITEM, SPCanvasItemClass)) -namespace Inkscape -{ - -// Rough initial set. Most likely needs refinement. -enum ControlType { - CTRL_TYPE_UNKNOWN, - CTRL_TYPE_ADJ_HANDLE, - CTRL_TYPE_ANCHOR, - CTRL_TYPE_POINT, - CTRL_TYPE_ROTATE, - CTRL_TYPE_SIZER, - CTRL_TYPE_SHAPER, - CTRL_TYPE_ORIGIN, - CTRL_TYPE_LINE -}; - -} // namespace Inkscape - /** * An SPCanvasItem refers to a SPCanvas and to its parent item; it has * four coordinates, a bounding rectangle, and a transformation matrix. -- cgit v1.2.3