aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Item.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/generic/Item.h b/generic/Item.h
index 9a73670..0db8b35 100644
--- a/generic/Item.h
+++ b/generic/Item.h
@@ -50,6 +50,7 @@
#define DEFAULT_GROUP_PRIORITY 0
#define DEFAULT_ICON_PRIORITY 2
#define DEFAULT_TEXT_PRIORITY 2
+#define DEFAULT_WINDOW_PRIORITY 0 /* N/A */
#define DEFAULT_MOSAIC_PRIORITY 0
#define DEFAULT_MARKER_SIZE 0
@@ -163,6 +164,11 @@ typedef void (*ItemGetAnchorMethod)(Item item, ZnAnchor anchor, ZnPoint *p);
typedef ZnBool (*ItemGetClipVerticesMethod)(Item item, ZnPoly *points);
typedef int (*ItemCoordsMethod)(Item item, int contour, int index, int cmd,
ZnPoint **points, int *num_points);
+typedef void (*ItemInsertCharsMethod)(Item item, int index, char *chars);
+typedef void (*ItemDeleteCharsMethod)(Item item, int first, int last);
+typedef void (*ItemCursorMethod)(Item item, int index);
+typedef int (*ItemIndexMethod)(Item item, char *index_str, int *index);
+typedef int (*ItemSelectionMethod)(Item item, int offset, char *chars, int max_chars);
typedef void (*ItemPostScriptMethod)(Item item, PostScriptInfo ps_info);
typedef struct _ItemClassStruct {
@@ -182,6 +188,11 @@ typedef struct _ItemClassStruct {
ItemGetAnchorMethod GetAnchor;
ItemGetClipVerticesMethod GetClipVertices;
ItemCoordsMethod Coords;
+ ItemInsertCharsMethod InsertChars;
+ ItemDeleteCharsMethod DeleteChars;
+ ItemCursorMethod Cursor;
+ ItemIndexMethod Index;
+ ItemSelectionMethod Selection;
ItemContourMethod Contour;
ItemComputeCoordinatesMethod ComputeCoordinates;
ItemToAreaMethod ToArea;
@@ -287,6 +298,7 @@ extern ZnItemClassId ZnWayPoint;
extern ZnItemClassId ZnGroup;
extern ZnItemClassId ZnIcon;
extern ZnItemClassId ZnText;
+extern ZnItemClassId ZnWind;
#endif /* _Item_h */