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

OglGui::SpinWheel Class Reference

#include <SpinWheel.h>

Inheritance diagram for OglGui::SpinWheel:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SpinWheel (Window *parent, int x, int y, int w, int h, int minVal, int maxVal, int val)
 SpinWheel (Window *parent, int w, int h, int minVal, int maxVal, int val)
 SpinWheel (Window *parent, int x, int y, int w, int h, float minVal, float maxVal, float val)
 SpinWheel (Window *parent, int w, int h, float minVal, float maxVal, float val)
void SetSpinWheelListener (SpinWheelListener *l, void *userData=0)
void SetSpinWheelListener (SpinWheelListener *l, int userData)
void CenterValStr (int dX, int dY) const
virtual void DrawWheel ()
virtual void DisplayFunc ()
void PropagateScrolling ()
virtual void MouseFunc (INT msg, INT but, INT state, INT x, INT y)
virtual void KeyboardFunc (INT c, INT state)
bool IsPressed () const
float GetValue () const
void SetValue (float val)
void SetMinimum (float min)
float GetMinimum () const
void SetMaximum (float max)
float GetMaximum () const
void SetDrawLineEtched (bool mode)
bool GetDrawLineEtched () const
void SetIncrement (float inc)
float GetIncrement () const
void SetPageIncrement (float inc)
float GetPageIncrement () const
void SetLineDistance (int len)
int GetLineDistance () const
void SetShowValInWheel (bool doShow=true)
bool GetShowValInWheel () const
void SetShowAsPercentage (bool doShow=true)
bool GetShowAsPercentage () const

Protected Attributes

SpinWheelListenermSpinWheelListener
void * mSpinWheelListenerData
float mMinVal
float mMaxVal
float mVal
float mIncrement
float mPageIncrement
bool mDownDir
bool mIsPressed
bool mDrawLineEtched
int mLineDistance
bool mAsInt
bool mShowAsPercentage
bool mShowValInWheel

Private Member Functions

void Init (bool asInt, float minVal, float maxVal, float val)

Detailed Description

Definition at line 12 of file SpinWheel.h.


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