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/Map.c | 15 +++++++++------ generic/Reticle.c | 15 +++++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) (limited to 'generic') diff --git a/generic/Map.c b/generic/Map.c index 55ce5c0..37b3531 100644 --- a/generic/Map.c +++ b/generic/Map.c @@ -1336,6 +1336,7 @@ Pick(Item item, */ static int Coords(Item item, + int contour, int index, int cmd, ZnPoint **pts, @@ -1371,9 +1372,9 @@ PostScript(Item item, static ItemClassStruct MAP_ITEM_CLASS = { sizeof(MapItemStruct), - False, - False, - False, + False, /* has_fields */ + False, /* has_parts */ + False, /* has_anchors */ "map", map_attrs, Init, @@ -1381,15 +1382,17 @@ static ItemClassStruct MAP_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 }; 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