aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Group.c11
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;