From: compudj Date: Fri, 9 Jan 2004 22:02:36 +0000 (+0000) Subject: fix big problem for resize X-Git-Tag: v0.12.20~3122 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=80fd70485e998dab64b2f14684a18552c94a70f1;p=lttv.git fix big problem for resize git-svn-id: http://ltt.polymtl.ca/svn@367 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c index c472d7c6..97444fc0 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c @@ -197,10 +197,11 @@ g_critical("missing data"); drawing_data_request(Drawing, &Pixmap, Drawing->width, 0, widget->allocation.width - Drawing->width, widget->allocation.height); - drawing_data_request(Drawing, &Pixmap, 0, Drawing->height, - Drawing->width, - widget->allocation.height - Drawing->height); - + // we do not request data vertically! +// drawing_data_request(Drawing, &Pixmap, 0, Drawing->height, +// Drawing->width, +// widget->allocation.height - Drawing->height); + // gdk_draw_rectangle (Pixmap, // widget->style->white_gc, // TRUE, @@ -208,14 +209,14 @@ g_critical("missing data"); // widget->allocation.width - // Drawing->width, // widget->allocation.height); - -// gdk_draw_rectangle (Pixmap, -// widget->style->white_gc, -// TRUE, -// 0, Drawing->height, -// Drawing->width, // do not overlap -// widget->allocation.height - -// Drawing->height); + + // Clear the bottom part of the image + gdk_draw_rectangle (Pixmap, + widget->style->white_gc, + TRUE, + 0, Drawing->height, + Drawing->width, // do not overlap + widget->allocation.height - Drawing->height); Drawing->width = widget->allocation.width; Drawing->height = widget->allocation.height;