fix big problem for resize
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 9 Jan 2004 22:02:36 +0000 (22:02 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 9 Jan 2004 22:02:36 +0000 (22:02 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@367 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c

index c472d7c60c74c0f867f5c52f15ec7a862d3f685a..97444fc0604a4cd92673a8d83c118a0dca974b8f 100644 (file)
@@ -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;
This page took 0.024983 seconds and 4 git commands to generate.