From 8881ae7cbc5e6e1d3f475c7de2534ce00ae1f2e8 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 21 Jun 2000 14:40:45 +0000 Subject: Ajustement des structures de classe pour ajout de la m�thode Part. --- generic/Arc.c | 3 ++- generic/Icon.c | 3 ++- generic/Map.c | 3 ++- generic/Rectangle.c | 3 ++- generic/Reticle.c | 3 ++- generic/Text.c | 3 ++- generic/Window.c | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) (limited to 'generic') diff --git a/generic/Arc.c b/generic/Arc.c index 797f671..a4f83d8 100644 --- a/generic/Arc.c +++ b/generic/Arc.c @@ -1588,7 +1588,7 @@ PostScript(Item item, static ItemClassStruct ARC_ITEM_CLASS = { sizeof(ArcItemStruct), False, /* has_fields */ - False, /* has_parts */ + 0, /* num_parts */ False, /* has_anchors */ "arc", arc_attrs, @@ -1605,6 +1605,7 @@ static ItemClassStruct ARC_ITEM_CLASS = { NULL, /* DeleteChars */ NULL, /* Cursor */ NULL, /* Index */ + NULL, /* Part */ NULL, /* Selection */ NULL, /* Contour */ ComputeCoordinates, diff --git a/generic/Icon.c b/generic/Icon.c index 2497846..ea4ecfd 100644 --- a/generic/Icon.c +++ b/generic/Icon.c @@ -744,7 +744,7 @@ Coords(Item item, static ItemClassStruct ICON_ITEM_CLASS = { sizeof(IconItemStruct), False, /* has_fields */ - False, /* has_parts */ + 0, /* num_parts */ True, /* has_anchors */ "icon", icon_attrs, @@ -761,6 +761,7 @@ static ItemClassStruct ICON_ITEM_CLASS = { NULL, /* DeleteChars */ NULL, /* Cursor */ NULL, /* Index */ + NULL, /* Part */ NULL, /* Selection */ NULL, /* Contour */ ComputeCoordinates, diff --git a/generic/Map.c b/generic/Map.c index edd29f5..e7dd9e6 100644 --- a/generic/Map.c +++ b/generic/Map.c @@ -1373,7 +1373,7 @@ PostScript(Item item, static ItemClassStruct MAP_ITEM_CLASS = { sizeof(MapItemStruct), False, /* has_fields */ - False, /* has_parts */ + 0, /* num_parts */ False, /* has_anchors */ "map", map_attrs, @@ -1390,6 +1390,7 @@ static ItemClassStruct MAP_ITEM_CLASS = { NULL, /* DeleteChars */ NULL, /* Cursor */ NULL, /* Index */ + NULL, /* Part */ NULL, /* Selection */ NULL, /* Contour */ ComputeCoordinates, diff --git a/generic/Rectangle.c b/generic/Rectangle.c index f31b96f..9f3a69a 100644 --- a/generic/Rectangle.c +++ b/generic/Rectangle.c @@ -808,7 +808,7 @@ Coords(Item item, static ItemClassStruct RECTANGLE_ITEM_CLASS = { sizeof(RectangleItemStruct), False, /* has_fields */ - False, /* has_parts */ + 0, /* num_parts */ False, /* has_anchors */ "rectangle", rect_attrs, @@ -825,6 +825,7 @@ static ItemClassStruct RECTANGLE_ITEM_CLASS = { NULL, /* DeleteChars */ NULL, /* Cursor */ NULL, /* Index */ + NULL, /* Part */ NULL, /* Selection */ NULL, /* Contour */ ComputeCoordinates, diff --git a/generic/Reticle.c b/generic/Reticle.c index 8a52792..5250634 100644 --- a/generic/Reticle.c +++ b/generic/Reticle.c @@ -471,7 +471,7 @@ PostScript(Item item, static ItemClassStruct RETICLE_ITEM_CLASS = { sizeof(ReticleItemStruct), False, /* has_fields */ - False, /* has_parts */ + 0, /* num_parts */ False, /* has_anchors */ "reticle", reticle_attrs, @@ -488,6 +488,7 @@ static ItemClassStruct RETICLE_ITEM_CLASS = { NULL, /* DeleteChars */ NULL, /* Cursor */ NULL, /* Index */ + NULL, /* Part */ NULL, /* Selection */ NULL, /* Contour */ ComputeCoordinates, diff --git a/generic/Text.c b/generic/Text.c index 0b6ac69..ec93cbd 100644 --- a/generic/Text.c +++ b/generic/Text.c @@ -1253,7 +1253,7 @@ Selection(Item item, static ItemClassStruct TEXT_ITEM_CLASS = { sizeof(TextItemStruct), False, /* has_fields */ - False, /* has_parts */ + 0, /* num_parts */ True, /* has_anchors */ "text", text_attrs, @@ -1270,6 +1270,7 @@ static ItemClassStruct TEXT_ITEM_CLASS = { DeleteChars, TextCursor, Index, + NULL, /* Part */ Selection, NULL, /* Contour */ ComputeCoordinates, diff --git a/generic/Window.c b/generic/Window.c index cbe37cd..972fb6b 100644 --- a/generic/Window.c +++ b/generic/Window.c @@ -657,7 +657,7 @@ Coords(Item item, static ItemClassStruct WINDOW_ITEM_CLASS = { sizeof(WindowItemStruct), False, /* has_fields */ - False, /* has_parts */ + 0, /* num_parts */ True, /* has_anchors */ "window", wind_attrs, @@ -674,6 +674,7 @@ static ItemClassStruct WINDOW_ITEM_CLASS = { NULL, /* DeleteChars */ NULL, /* Cursor */ NULL, /* Index */ + NULL, /* Part */ NULL, /* Selection */ NULL, /* Contour */ ComputeCoordinates, -- cgit v1.1