- if(tfc != NULL)
- end_time = LTT_TIME_MIN(tfc->timestamp, events_request->end_time);
- else /* end of traceset, or position now out of request : end */
- end_time = events_request->end_time;
-
- ClosureData closure_data;
- closure_data.events_request = (EventsRequest*)hook_data;
- closure_data.tss = tss;
- closure_data.end_time = end_time;
-
- TimeWindow time_window =
- lttvwindow_get_time_window(resourceview_data->tab);
- guint width = resourceview_data->drawing->width;
- convert_time_to_pixels(
- time_window,
- end_time,
- width,
- &closure_data.x_end);
-
- /* Draw last items */
- for(i=0; i<RV_RESOURCE_COUNT; i++) {
- g_hash_table_foreach(resourcelist_get_resource_hash_table(resourceview_data, i), draw_closure,
- (void*)&closure_data);
- }
-#if 0
- /* Reactivate sort */
- gtk_tree_sortable_set_sort_column_id(
- GTK_TREE_SORTABLE(resourceview_data->process_list->list_store),
- GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID,
- GTK_SORT_ASCENDING);
-
- update_index_to_pixmap(resourceview_data->process_list);
- /* Request a full expose : drawing scrambled */
- gtk_widget_queue_draw(resourceview_data->drawing->drawing_area);
-#endif //0
- /* Request expose (updates damages zone also) */
- drawing_request_expose(events_request, tss, end_time);