ControlFlowData *Control_Flow_Data = guicontrolflow() ;
Control_Flow_Data->Parent_Window = pmParentWindow;
+ TimeWindow *time_window = guicontrolflow_get_time_window(Control_Flow_Data);
+ time_window->start_time.tv_sec = 0;
+ time_window->start_time.tv_nsec = 0;
+ time_window->time_width.tv_sec = 0;
+ time_window->time_width.tv_nsec = 0;
+ LttTime *current_time = guicontrolflow_get_current_time(Control_Flow_Data);
+ current_time->tv_sec = 0;
+ current_time->tv_nsec = 0;
+
+ //g_critical("time width1 : %u",time_window->time_width);
+
get_time_window(pmParentWindow,
- guicontrolflow_get_time_window(Control_Flow_Data));
+ time_window);
get_current_time(pmParentWindow,
- guicontrolflow_get_current_time(Control_Flow_Data));
+ current_time);
+ //g_critical("time width2 : %u",time_window->time_width);
// Unreg done in the GuiControlFlow_Destructor
reg_update_time_window(update_time_window_hook, Control_Flow_Data,
pmParentWindow);
}
-#ifdef DEBUG
/* Hook called before drawing. Gets the initial context at the beginning of the
* drawing interval and copy it to the context in Event_Request.
*/
int draw_before_hook(void *hook_data, void *call_data)
{
EventRequest *Event_Request = (EventRequest*)hook_data;
- EventsContext Events_Context = (EventsContext*)call_data;
+ //EventsContext Events_Context = (EventsContext*)call_data;
- Event_Request->Events_Context = Events_Context;
+ //Event_Request->Events_Context = Events_Context;
return 0;
}
{
EventRequest *Event_Request = (EventRequest*)hook_data;
+
return 0;
}
g_free(Event_Request);
return 0;
}
-#endif