basic time bar
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / eventhooks.c
index efc2dea947ec3f51cfc71e751d7ffc2bffb27997..ea08a9d7bbac082cc0374e0c94651244b531c2dd 100644 (file)
@@ -1016,6 +1016,11 @@ gint update_time_window_hook(void *hook_data, void *call_data)
     guicontrolflow_get_time_window(control_flow_data);
   TimeWindow *new_time_window = ((TimeWindow*)call_data);
   
+  /* Update the ruler */
+  drawing_update_ruler(control_flow_data->drawing,
+                       new_time_window);
+
+
   /* Two cases : zoom in/out or scrolling */
   
   /* In order to make sure we can reuse the old drawing, the scale must
@@ -1197,6 +1202,8 @@ gint update_time_window_hook(void *hook_data, void *call_data)
         control_flow_data->drawing->height);
   }
 
+
+  
   return 0;
 }
 
This page took 0.022288 seconds and 4 git commands to generate.