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

OglGui::ZoomShiftRuler Class Reference

#include <ZoomShiftRuler.h>

Inheritance diagram for OglGui::ZoomShiftRuler:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ZoomShiftRuler (int x, int y, int w, int h, long start=0, long span=10000)
 ZoomShiftRuler (Window *parent, int w, int h, long start=0, long span=10000)
 ZoomShiftRuler (Window *parent, int x, int y, int w, int h, long start=0, long span=10000)
void SetListener (ZoomShiftRulerListener *listener, void *listenerData=0)
virtual void PublishCurrentChanged ()
void SetMinMaxDocWidth (long minW=-1, long maxW=-1)
void GetMinMaxDocWidth (long &minW, long &maxW)
void SetNeedleColor (ULONG col)
ULONG GetNeedleColor ()
void ShowNeedle (bool show)
bool ShowNeedle ()
void SetSpan (long span)
long GetSpan ()
void SetStart (long start)
long GetStart ()
bool IsDragging ()
void SetAxisY (int y)
int GetAxisY ()
void SetTextColor (ULONG col)
ULONG GetTextColor ()
void SetTextShaded (bool mode)
bool GetTextShaded ()
void SetTextShadowColors (ULONG shadBg, ULONG shadFg)
void GetTextShadowColors (ULONG &shadBg, ULONG shadFg)
void SetNeedleUpDownHeight (int upH, int downH)
void GetNeedleUpDownHeight (int &upH, int &downH)
void SetRange (long start, long span)
void GetRange (long &start, long &span)
void Current (long cur)
long Current ()
void ShowCurrentAt (long x)
void MakeCurrentVisible ()
long Pixel2Unit (int pX)
int Unit2Pixel (long u)
virtual void DrawNeedle ()
virtual void DisplayFunc ()
void SetDocXClamped (int x)
void CheckPropagateScrolling (int x)
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.

Protected Member Functions

virtual void DrawTick (long val, int x, int y, long tickSpan, int tickLen=6)
virtual void DrawMicroTicks (long x, long nextX)
virtual void DrawTicks ()

Protected Attributes

int mAxisY
long mStart
long mSpan
 Start time in units, e.g. mm or ms.
double mTickSpan
 Span in units.
long mCurrent
bool mShowNeedle
ULONG mNeedleColor
int mNeedleUpH
int mNeedleDownH
bool mDragging
bool mScaling
long mMinDocWidth
long mMaxDocWidth
int mMouseState
int mPropagateMargin
bool mPropagateScrolling
long mClickedUnit
int mClickedX
int mLastX
bool mTextShaded
ULONG mTextShadowFg
ULONG mTextShadowBg
ULONG mTextColor

Private Member Functions

void Init (int w, int h, long start, long span)

Private Attributes

ZoomShiftRulerListenermListener
void * mZoomShiftListenerData

Detailed Description

Definition at line 54 of file ZoomShiftRuler.h.


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