diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Map.c | 15 | ||||
-rw-r--r-- | generic/Reticle.c | 15 |
2 files changed, 18 insertions, 12 deletions
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 }; |