From a2eab0c9ba77537fb2e801d63ff49af96c169e31 Mon Sep 17 00:00:00 2001 From: yangxx Date: Fri, 17 Oct 2003 18:56:18 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@315 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/include/lttv/gtkTraceSet.h | 6 ++--- .../poly/lttv/modules/gui/API/gtkTraceSet.c | 22 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ltt/branches/poly/include/lttv/gtkTraceSet.h b/ltt/branches/poly/include/lttv/gtkTraceSet.h index aec6c598..ef73dc3b 100644 --- a/ltt/branches/poly/include/lttv/gtkTraceSet.h +++ b/ltt/branches/poly/include/lttv/gtkTraceSet.h @@ -105,7 +105,7 @@ void UpdateStatus(mainWindow *main_win, char *info); * @param time_interval a pointer where time interval will be stored. */ -void GetTimeWindow(mainWindow *main_win, TimeWindow *Time_Window); +void GetTimeWindow(mainWindow *main_win, TimeWindow *time_window); /** @@ -116,12 +116,12 @@ void GetTimeWindow(mainWindow *main_win, TimeWindow *Time_Window); * @param time_interval a pointer where time interval is stored. */ -void SetTimeWindow(mainWindow *main_win, TimeWindow *Time_Window); +void SetTimeWindow(mainWindow *main_win, TimeWindow *time_window); /** * Function to get the time span of the main window's traceset. */ -void GetTracesetTimeSpan(mainWindow *main_win, TimeInterval *Time_Interval); +void GetTracesetTimeSpan(mainWindow *main_win, TimeInterval *time_interval); /** * Function to get the current time/event of the current tab. diff --git a/ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c b/ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c index 65d87b07..ac5d2406 100644 --- a/ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c +++ b/ltt/branches/poly/lttv/modules/gui/API/gtkTraceSet.c @@ -191,11 +191,11 @@ void UpdateStatus(mainWindow *main_win, char *info) * @param time_interval a pointer where time interval will be stored. */ -void GetTimeWindow(mainWindow *main_win, TimeWindow *Time_Window) +void GetTimeWindow(mainWindow *main_win, TimeWindow *time_window) { - //Time_Window->startTime = main_win->CurrentTab->Time_Window.startTime; - //Time_Window->Time_Width = main_win->CurrentTab->Time_Window.Time_Width; - *Time_Window = main_win->CurrentTab->Time_Window; + //time_window->startTime = main_win->CurrentTab->Time_Window.startTime; + //time_window->Time_Width = main_win->CurrentTab->Time_Window.Time_Width; + *time_window = main_win->CurrentTab->Time_Window; } /** @@ -207,11 +207,11 @@ void GetTimeWindow(mainWindow *main_win, TimeWindow *Time_Window) * @param time_interval a pointer where time interval will be stored. */ -void getTracesetTimeSpan(mainWindow *main_win, TimeInterval *Time_Interval) +void getTracesetTimeSpan(mainWindow *main_win, TimeInterval *time_interval) { - //Time_Window->startTime = main_win->CurrentTab->Time_Window.startTime; - //Time_Window->Time_Width = main_win->CurrentTab->Time_Window.Time_Width; - *Time_Interval = *(LTTV_TRACESET_CONTEXT(main_win->Traceset_Info->TracesetContext)->Time_Span); + //time_window->startTime = main_win->CurrentTab->Time_Window.startTime; + //time_window->Time_Width = main_win->CurrentTab->Time_Window.Time_Width; + *time_interval = *(LTTV_TRACESET_CONTEXT(main_win->Traceset_Info->TracesetContext)->Time_Span); } @@ -224,16 +224,16 @@ void getTracesetTimeSpan(mainWindow *main_win, TimeInterval *Time_Interval) * @param time_interval a pointer where time interval is stored. */ -void SetTimeWindow(mainWindow *main_win, TimeWindow *Time_Window) +void SetTimeWindow(mainWindow *main_win, TimeWindow *time_window) { LttvAttributeValue value; LttvHooks * tmp; - main_win->CurrentTab->Time_Window = *Time_Window; + main_win->CurrentTab->Time_Window = *time_window; g_assert(lttv_iattribute_find_by_path(main_win->CurrentTab->Attributes, "hooks/updatetimewindow", LTTV_POINTER, &value)); tmp = (LttvHooks*)*(value.v_pointer); if(tmp == NULL) return; - lttv_hooks_call(tmp, Time_Window); + lttv_hooks_call(tmp, time_window); } -- 2.34.1