#include <WindowTimeLine.h>
Inheritance diagram for OglGui::WindowTimeLine:
Public Member Functions | |
WindowTimeLine (int x, int y, int w, int h, long startTimeMs=0, long timeSpanMs=60000) | |
WindowTimeLine (Window *parent, int w, int h, long startTimeMs=0, long timeSpanMs=60000) | |
WindowTimeLine (Window *parent, int x, int y, int w, int h, long startTimeMs=0, long timeSpanMs=60000) | |
void | SetListener (WindowTimeLineListener *listener, void *listenerData=0) |
void | SetGetOglImageByIdInterface (GetOglImageByIdInterface *i) |
void | SetOglImageCache (OglImageCache *oglImageCache) |
OGLIMAGE * | LoadViewImage (long long id) |
virtual void | PublishCurrentChanged () |
int | AddWindow (Window *wnd, long timeMs, int offX=0, int offY=8) |
int | AddImIdOGLVIEW (OGLVIEW *view, long timeMs, long long imId, int offX=0, int offY=8) |
int | AddOGLVIEW (OGLVIEW *view, long timeMs, int offX=0, int offY=8) |
void | SetDrawLines (bool mode=true) |
void | SetLineStipple (short stipple) |
void | SetViewDrawLines (bool mode=true) |
void | SetViewLineStipple (short stipple) |
void | MaxVisibleImages (int m) |
int | MaxVisibleImages () |
void | SetLineColor (Window *wnd, long col) |
void | SetLineColor (OGLVIEW *view, long col) |
void | ShowAtTickSpanIdx (int idx, long ms) |
void | ShowAtTickSpan (Window *wnd, long ms) |
void | ShowViewAtTickSpanIdx (int idx, long ms) |
void | ShowAtTickSpan (OGLVIEW *view, long ms) |
virtual void | DisplayFunc () |
Static Public Member Functions | |
static void | GetTimeUnits (long timeInMs, int &hours, int &minutes, int &seconds, int &ms) |
Protected Member Functions | |
int | FindWindowIdx (Window *wnd) |
int | FindViewIdx (OGLVIEW *view) |
virtual void | DrawTick (long timeMs, int x, int y, long tickSpanMs, int tickLen=5) |
virtual void | LayoutWindows () |
virtual void | LayoutViews () |
void | ViewIdxPointLine (int idx, int pX, int lX, bool drawPoint, bool drawLine) |
void | HideView (OGLVIEW *view) |
Protected Attributes | |
std::vector< Window * > | mWindows |
std::vector< long > | mTimes |
std::vector< long > | mShowAtTickSpan |
std::vector< int > | mOffX |
std::vector< int > | mOffY |
std::vector< long > | mLineColor |
short | mLineStipple |
bool | mDrawLineFlag |
std::vector< OGLVIEW * > | mViews |
std::vector< long > | mViewTimes |
std::vector< long long > | mViewImIds |
std::vector< long > | mViewShowAtTickSpan |
std::vector< int > | mViewOffX |
std::vector< int > | mViewOffY |
std::vector< long > | mViewLineColor |
short | mViewLineStipple |
bool | mViewDrawLineFlag |
int | mMaxVisibleImages |
OglImageCache * | mOglImageCache |
GetOglImageByIdInterface * | mGetOglImageByIdI |
Private Member Functions | |
void | Init (int w, int h, long startTime, long timeSpan) |
Private Attributes | |
WindowTimeLineListener * | mListener |
void * | mWndTimeLineListenerData |
Definition at line 67 of file WindowTimeLine.h.