diff options
author | lecoanet | 2002-03-15 14:14:59 +0000 |
---|---|---|
committer | lecoanet | 2002-03-15 14:14:59 +0000 |
commit | 01c32de1c22fb456ede293f9ae537c8711f9ef86 (patch) | |
tree | 95e490a8acf30a0a8ff26f4db201e6f07adebf29 /generic | |
parent | 1130d6cd5b4bbc52c3cbd81c46b7b26008bf87e4 (diff) | |
download | tkzinc-01c32de1c22fb456ede293f9ae537c8711f9ef86.zip tkzinc-01c32de1c22fb456ede293f9ae537c8711f9ef86.tar.gz tkzinc-01c32de1c22fb456ede293f9ae537c8711f9ef86.tar.bz2 tkzinc-01c32de1c22fb456ede293f9ae537c8711f9ef86.tar.xz |
Suppression de l'inset.
Ajustement des ressources couleurs pour tenir compte de la
g�n�ralisation des gradients.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Group.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/generic/Group.c b/generic/Group.c index 527b49c..73df941 100644 --- a/generic/Group.c +++ b/generic/Group.c @@ -171,7 +171,7 @@ Clone(Item item) for (i = 0; i < num_items; i++, items++) { entry = Tcl_FindHashEntry(&mapping, (char *) *items); if (entry == NULL) { - ZnWarning("Can't find item correspondance in Group Clone"); + ZnWarning("Can't find item correspondance in Group Clone\n"); abort(); } else { @@ -179,7 +179,7 @@ Clone(Item item) } entry = Tcl_FindHashEntry(&mapping, (char *) current_item->connected_item); if (entry == NULL) { - ZnWarning("Can't found item correspondance in Group Clone"); + ZnWarning("Can't found item correspondance in Group Clone\n"); abort(); } else { @@ -315,8 +315,8 @@ SetXShape(Item grp) * then Translate it in a region and apply this region to * the window. */ - width = wi->width + 2*wi->inset; - height = wi->height + 2*wi->inset; + width = wi->width; + height = wi->height; for (j = 0; j < tristrip.num_strips; j++) { p = tristrip.strips[j].points; num_pts = tristrip.strips[j].num_points; @@ -851,7 +851,8 @@ Draw(Item item) current_item->class->Draw(current_item); if (wi->draw_bboxes) { XGCValues values; - values.foreground = ZnPixel(wi->bbox_color); + values.foreground = ZnPixel(ZnGetGradientColor(wi->bbox_color, + 0, NULL)); values.fill_style = FillSolid; values.line_width = 1; values.line_style = (current_item->class==ZnGroup)?LineOnOffDash:LineSolid; |