aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlecoanet2000-06-21 14:40:45 +0000
committerlecoanet2000-06-21 14:40:45 +0000
commit8881ae7cbc5e6e1d3f475c7de2534ce00ae1f2e8 (patch)
tree5526376e22ff534e267417cc06b2ba69c58cc0c3
parent69da3e8f8e5e9b3dc8d757a7a2f389f122eadc02 (diff)
downloadtkzinc-8881ae7cbc5e6e1d3f475c7de2534ce00ae1f2e8.zip
tkzinc-8881ae7cbc5e6e1d3f475c7de2534ce00ae1f2e8.tar.gz
tkzinc-8881ae7cbc5e6e1d3f475c7de2534ce00ae1f2e8.tar.bz2
tkzinc-8881ae7cbc5e6e1d3f475c7de2534ce00ae1f2e8.tar.xz
Ajustement des structures de classe pour ajout de la m�thode Part.
-rw-r--r--generic/Arc.c3
-rw-r--r--generic/Icon.c3
-rw-r--r--generic/Map.c3
-rw-r--r--generic/Rectangle.c3
-rw-r--r--generic/Reticle.c3
-rw-r--r--generic/Text.c3
-rw-r--r--generic/Window.c3
7 files changed, 14 insertions, 7 deletions
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,