#include <TimeSlider.h>
Inheritance diagram for Impala::Application::SDash::TimeSlider:
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 | |
TimeSliderListener * | mListener |
void * | mListenerData |
int | mLineY |
int | mMargin |
long | mStartTime |
long | mTimeSpan |
long | mCurrentTime |
Definition at line 17 of file TimeSlider.h.