From ea339b1a3339148ba5ccc89a5d7a0b0625392458 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 12 Oct 2001 07:37:14 +0000 Subject: Suppression du code LIBART. --- generic/Group.c | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'generic/Group.c') diff --git a/generic/Group.c b/generic/Group.c index 8542eb9..84e0692 100644 --- a/generic/Group.c +++ b/generic/Group.c @@ -855,35 +855,23 @@ static void Render(Item item) { GroupItem group = (GroupItem) item; - WidgetInfo *wi = item->wi; Item current_item; - ZnBBox *clip_box; #ifndef GLX + WidgetInfo *wi = item->wi; + ZnBBox *clip_box; ZnBBox bbox, old_damaged_area; #endif -#ifdef LIBART - RenderBuf buf; -#endif PushTransform(item); PushClip(group, True); +#ifndef GLX if (group->clip != ZN_NO_ITEM) { ITEM_P.CurrentClip(wi, NULL, &clip_box, NULL); -#ifndef GLX old_damaged_area = wi->damaged_area; IntersectBBox(&wi->damaged_area, clip_box, &bbox); wi->damaged_area = bbox; -#endif -#ifdef LIBART - buf = wi->buf; - wi->buf.ox = (int) wi->damaged_area.orig.x; - wi->buf.oy = (int) wi->damaged_area.orig.y; - wi->buf.cx = (int) wi->damaged_area.corner.x; - wi->buf.cy = (int) wi->damaged_area.corner.y; - wi->buf.buf += ((wi->buf.oy - buf.oy) * buf.rowstride + - (wi->buf.ox - buf.ox) * 3); -#endif } +#endif current_item = group->tail; while (current_item != ZN_NO_ITEM) { @@ -909,9 +897,6 @@ Render(Item item) #ifndef GLX if (group->clip != ZN_NO_ITEM) { wi->damaged_area = old_damaged_area; -#ifdef LIBART - wi->buf = buf; -#endif } #endif -- cgit v1.1