From 5b761cd6965b9f6469a49618b4536359379eb6e4 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Thu, 11 May 2000 13:58:40 +0000 Subject: Adaptation de la structure d�crivant l'item --- generic/Reticle.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'generic/Reticle.c') diff --git a/generic/Reticle.c b/generic/Reticle.c index a182243..ebc97d6 100644 --- a/generic/Reticle.c +++ b/generic/Reticle.c @@ -417,6 +417,7 @@ Pick(Item item, */ static int Coords(Item item, + int contour, int index, int cmd, ZnPoint **pts, @@ -469,9 +470,9 @@ PostScript(Item item, */ static ItemClassStruct RETICLE_ITEM_CLASS = { sizeof(ReticleItemStruct), - False, - False, - False, + False, /* has_fields */ + False, /* has_parts */ + False, /* has_anchors */ "reticle", reticle_attrs, Init, @@ -479,15 +480,17 @@ static ItemClassStruct RETICLE_ITEM_CLASS = { Destroy, Configure, Query, - NULL, - NULL, - NULL, + NULL, /* GetFieldSet */ + NULL, /* GetAnchor */ + NULL, /* GetClipVertices */ Coords, + NULL, /* Contour */ ComputeCoordinates, ToArea, Draw, IsSensitive, Pick, + NULL, /* PickVertex */ PostScript }; -- cgit v1.1