Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Application::SDash::TimeSlider Class Reference

#include <TimeSlider.h>

Inheritance diagram for Impala::Application::SDash::TimeSlider:

Inheritance graph
[legend]
Collaboration diagram for Impala::Application::SDash::TimeSlider:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TimeSlider (Window *parent, int w, int h, long startSecs, long timeSpan)
 TimeSlider (Window *parent, int x, int y, int w, int h, long startSecs, long timeSpan)
void SetTimeSliderListener (TimeSliderListener *li, void *userData=0)
void SetTime (long secs)
void TimeSpan (long timeSpan)
long TimeSpan ()
void StartTime (long startTime)
long StartTime ()
void CurrentTime (long curTime)
long CurrentTime ()
int ComputeX (long secs)
virtual void DisplayFunc ()
virtual void MouseFunc (int msg, int btn, int state, int x, int y)
 This function is called by the event handling system everytime the user has moved or clicked the mouse.

Static Public Member Functions

static void GetTimeUnits (long timeInSeconds, int &hours, int &minutes, int &seconds)
static long UnitsToSeconds (int h, int m, int s)

Protected Member Functions

void DrawTicks ()
void DrawCurrentTime ()

Private Member Functions

void Init (int w, int h, long startSecs, long timeSpan)

Private Attributes

TimeSliderListenermListener
void * mListenerData
int mLineY
int mMargin
long mStartTime
long mTimeSpan
long mCurrentTime

Detailed Description

Definition at line 17 of file TimeSlider.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 10:50:15 2010 for ImpalaSrc by  doxygen 1.5.1