drawing arc larger
[lttv.git] / ltt / branches / poly / lttv / modules / guiControlFlow / Drawing.c
index e1eb88d9097c3f323ab997e63455d6d9360a9079..0aa74529b905e4829a1f429b1ac073a67614973c 100644 (file)
@@ -6,6 +6,11 @@
 
 #include <lttv/processTrace.h>
 
+
+#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
+#define g_debug(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
+
+
 /*****************************************************************************
  *                              Drawing functions                            *
  *****************************************************************************/
@@ -190,7 +195,7 @@ Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data)
                        G_OBJECT(Drawing->Drawing_Area_V),
                        "Link_Drawing_Data",
                        Drawing,
-                       (GDestroyNotify)Drawing_destroy);
+                       (GDestroyNotify)drawing_destroy);
 
        //gtk_widget_modify_bg( Drawing->Drawing_Area_V,
        //                      GTK_STATE_NORMAL,
@@ -288,6 +293,7 @@ void drawing_refresh (      Drawing_t *Drawing,
                        guint x, guint y,
                        guint width, guint height)
 {
+       g_info("Drawing.c : drawing_refresh %u, %u, %u, %u", x, y, width, height);
        GdkRectangle update_rect;
 
        gdk_draw_drawable(
@@ -444,3 +450,5 @@ void drawing_remove_square(Drawing_t *Drawing,
        update_rect.height = Drawing->height - y ;
        gtk_widget_draw( Drawing->Drawing_Area_V, &update_rect);
 }
+
+
This page took 0.022635 seconds and 4 git commands to generate.