part 12
[lttv.git] / ltt / branches / poly / lttv / modules / gui / guiControlFlow / guiControlFlow.c.old
diff --git a/ltt/branches/poly/lttv/modules/gui/guiControlFlow/guiControlFlow.c.old b/ltt/branches/poly/lttv/modules/gui/guiControlFlow/guiControlFlow.c.old
deleted file mode 100644 (file)
index 5c7961d..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-//FIXME by including ltt.h
-#include <time.h>
-typedef time_t ltt_time;
-
-typedef struct _ltt_time_interval
-{
-       ltt_time time_begin, time_end;
-} ltt_time_interval;
-
-// ???
-
-
-       /* Setup the hooks */
-       Draw_Before_Hooks = lttv_hooks_new();
-       Draw_Event_Hooks = lttv_hooks_new();
-       Draw_After_Hooks = lttv_hooks_new();
-       
-       lttv_hooks_add(Draw_Before_Hooks, Draw_Before_Hook, NULL);
-       lttv_hooks_add(Draw_Event_Hooks, Draw_Event_Hook, NULL);
-       lttv_hooks_add(Draw_After_Hooks, Draw_After_Hook, NULL);
-       
-       /* Destroy the hooks */
-       
-       lttv_hooks_destroy(Draw_Before_Hooks);
-       lttv_hooks_destroy(Draw_Event_Hooks);
-       lttv_hooks_destroy(Draw_After_Hooks);
-       
-
-
-
-/*****************************************************************************
- *                         Definition of structures                          *
- *****************************************************************************/
-
-/* Structure used to store and use information relative to one events refresh
- * request. Typically filled in by the expose event callback, then passed to the
- * library call, then used by the drawing hooks. Then, once all the events are
- * sent, it is freed by the hook called after the reading.
- */
-typedef struct _EventRequest
-{
-       ControlFlowData *control_flow_data;
-       ltt_time time_begin, time_end;
-       /* Fill the Events_Context during the initial expose, before calling for
-        * events.
-        */
-       GArray Events_Context; //FIXME
-} EventRequest ;
-
-
-
-/*****************************************************************************
- *                         Function prototypes                               *
- *****************************************************************************/
-//! Control Flow Viewer's constructor hook
-GtkWidget *hGuiControlFlow(GtkWidget *mw);
-//! Control Flow Viewer's constructor
-ControlFlowData *GuiControlFlow(void);
-//! Control Flow Viewer's destructor
-void GuiControlFlow_Destructor(ControlFlowData *control_flow_data);
-
-
-static int Event_Selected_Hook(void *hook_data, void *call_data);
-
-static lttv_hooks
-       *Draw_Before_Hooks,
-       *Draw_Event_Hooks,
-       *Draw_After_Hooks;
-
-Draw_Before_Hook(void *hook_data, void *call_data)
-Draw_Event_Hook(void *hook_data, void *call_data)
-Draw_After_Hook(void *hook_data, void *call_data)
-
-
-//void Tree_V_set_cursor(ControlFlowData *control_flow_data);
-//void Tree_V_get_cursor(ControlFlowData *control_flow_data);
-
-/* Prototype for selection handler callback */
-//static void tree_selection_changed_cb (GtkTreeSelection *selection, gpointer data);
-static void v_scroll_cb (GtkAdjustment *adjustment, gpointer data);
-//static void Tree_V_size_allocate_cb (GtkWidget *widget, GtkAllocation *alloc, gpointer data);
-//static void Tree_V_size_request_cb (GtkWidget *widget, GtkRequisition *requisition, gpointer data);
-//static void Tree_V_cursor_changed_cb (GtkWidget *widget, gpointer data);
-//static void Tree_V_move_cursor_cb (GtkWidget *widget, GtkMovementStep arg1, gint arg2, gpointer data);
-
-static void expose_event_cb (GtkWidget *widget, GdkEventExpose *expose, gpointer data);
-
-void add_test_process(ControlFlowData *control_flow_data);
-
-static void get_test_data(guint event_number, guint List_Height, 
-                                                                        ControlFlowData *control_flow_data);
-
-void add_test_data(ControlFlowData *control_flow_data);
-void test_draw(ControlFlowData *control_flow_data);
-
-void drawing_Area_Init(ControlFlowData *control_flow_data);
-
-
-/*\@}*/
This page took 0.025665 seconds and 4 git commands to generate.