diff options
Diffstat (limited to 'generic/Item.h')
-rw-r--r-- | generic/Item.h | 6 |
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, |