aboutsummaryrefslogtreecommitdiff
path: root/generic/Item.h
diff options
context:
space:
mode:
authorlecoanet2001-11-26 10:29:24 +0000
committerlecoanet2001-11-26 10:29:24 +0000
commit168da20e4c3a6f298cba04b06759eb1a29ce2058 (patch)
treed9f7bc7fb8a553a8e750ac964e2751d117796210 /generic/Item.h
parent022119cc3148d63f6504ca340dca2eb115033d3a (diff)
downloadtkzinc-168da20e4c3a6f298cba04b06759eb1a29ce2058.zip
tkzinc-168da20e4c3a6f298cba04b06759eb1a29ce2058.tar.gz
tkzinc-168da20e4c3a6f298cba04b06759eb1a29ce2058.tar.bz2
tkzinc-168da20e4c3a6f298cba04b06759eb1a29ce2058.tar.xz
*** empty log message ***
Diffstat (limited to 'generic/Item.h')
-rw-r--r--generic/Item.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/Item.h b/generic/Item.h
index d3d0bf0..16a624a 100644
--- a/generic/Item.h
+++ b/generic/Item.h
@@ -163,7 +163,8 @@ typedef void (*ItemContourMethod)(Item item, int cmd, ZnPoly *poly);
typedef void (*ItemPickVertexMethod)(Item item, ZnPoint *p, int *contour,
int *vertex, int *o_vertex);
typedef void (*ItemGetAnchorMethod)(Item item, ZnAnchor anchor, ZnPoint *p);
-typedef ZnBool (*ItemGetClipVerticesMethod)(Item item, ZnPoly *points);
+typedef ZnBool (*ItemGetClipVerticesMethod)(Item item, ZnTriStrip *tristrip);
+typedef ZnBool (*ItemGetContoursMethod)(Item item, ZnPoly *poly);
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);
@@ -191,6 +192,7 @@ typedef struct _ItemClassStruct {
ItemGetFieldSetMethod GetFieldSet;
ItemGetAnchorMethod GetAnchor;
ItemGetClipVerticesMethod GetClipVertices;
+ ItemGetContoursMethod GetContours;
ItemCoordsMethod Coords;
ItemInsertCharsMethod InsertChars;
ItemDeleteCharsMethod DeleteChars;
@@ -286,7 +288,7 @@ extern struct _ITEM_P {
void (*InitClipStack)(struct _WidgetInfo *wi);
void (*FreeClipStack)(struct _WidgetInfo *wi);
void (*ResetClipStack)(struct _WidgetInfo *wi);
- void (*PushClip)(struct _WidgetInfo *wi, ZnPoly *poly, ZnBool simple,
+ void (*PushClip)(struct _WidgetInfo *wi, ZnTriStrip *tristrip, ZnBool simple,
ZnBool set_gc);
void (*PopClip)(struct _WidgetInfo *wi, ZnBool set_gc);
ZnBool (*CurrentClip)(struct _WidgetInfo *wi, Region *reg, ZnBBox **clip_box,