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

OglGui::AlertTimeLine Class Reference

#include <AlertTimeLine.h>

Inheritance diagram for OglGui::AlertTimeLine:

Inheritance graph
[legend]
Collaboration diagram for OglGui::AlertTimeLine:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AlertTimeLine (int x, int y, int w, int h)
 AlertTimeLine (Window *parent, int w, int h)
 AlertTimeLine (Window *parent, int x, int y, int w, int h)
void SetAlertTimeLineListener (AlertTimeLineListener *listener, void *listenerData=0)
void TestOnly_ManualTimeLineEvents ()
void SetTimeSpan (long seconds)
void SetOlderThanText (strconst str)
void AdvanceTime (long seconds)
long GetCurrentTime ()
long GetStartTime ()
long GetStartTimeOffset ()
ButtonOlderThanButton ()
void SetTime (long startTimeSec, int currentTimeOffsetSec=0)
virtual void ButtonSelectionEvent (Button *src, void *userData)
void AddAlert (int alertId, ULONG col, void *userData, long seconds)
void AddAlert (int alertId, ULONG col, void *userData)
virtual void DisplayFunc ()

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

long GetButtonTime (Button *btn)
void DrawCurrentTime ()
void DrawTicks (bool detailed=true, int detailResolution=10)
int ComputeX (long btnTime)
int ComputeX (Button *btn)
void PositionAlerts ()
ButtonAlertButton (int x, int y, int w, int h, ULONG col, strconst str)

Private Member Functions

void Init (int w, int h)

Private Attributes

std::vector< Button * > mAlertButtons
std::string mOlderThanStr
ButtonmOlderThanBtn
AlertTimeLineListenermListener
void * mListenerData
int mNrAlerts
int mNrOlderAlerts
int mLineY
int mAlertW
int mAlertH
long mStartTime
long mStartTimeOffset
long mCurrentTime
long mTimeSpan

Classes

class  AdvanceTimeListener
class  GenerateAlertListener

Detailed Description

Definition at line 20 of file AlertTimeLine.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:57:24 2010 for ImpalaSrc by  doxygen 1.5.1