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

OglGui::Slider Class Reference

#include <Slider.h>

Inheritance diagram for OglGui::Slider:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Slider (Window *parent, int w, int h, int minVal, int maxVal, int val, int borderType=BEV_ETCHED, float roundness=0)
 Slider (Window *parent, int x, int y, int w, int h, int minVal, int maxVal, int val, int borderType=BEV_ETCHED, float roundness=0)
void SetSliderListener (SliderListener *listener, void *listenerData=0)
void HorBackDrawing (int y, int wndW, int wndH) const
void VerBackDrawing (int x, int wndW, int wndH) const
virtual void DisplayFunc ()
void HandleChange (int x, int y)
virtual void MouseFunc (INT msg, INT but, INT state, INT x, INT y)
virtual void KeyboardFunc (INT c, INT state)
virtual void ViewportFunc (INT width, INT height)
int Value () const
int GetValue () const
void SetValue (int val)
void SetMinMax (int min, int max)
void GetMinMax (int &min, int &max)
void SetHorizontal (bool hor=true)
bool IsHorizontal () const
void SetShowValNeedle (bool showNeedle=true)
bool GetShowValNeedle () const
void SetIncrement (int inc)
int GetIncrement () const
void SetPageIncrement (int inc)
int GetPageIncrement () const
void SetThumbSizes (int w, int h)
void GetThumbSizes (int &w, int &h) const
void SetThumbRoundness (float r)
float GetThumbRoundness () const
void SetShowValue (bool doShow=true)
bool GetShowValue () const
void SetPrecisionIdx (int n)
void SetShowValPerc (bool doShow=true)
bool GetShowValPerc () const
void SetShowTicks (bool doShow=true)
bool GetShowTicks () const
void SetFlipOver (bool mode=true)
void SetTickInterval (int inc)
int GetTickInterval () const
void SetDrawBlendedThumb (bool doBlend=true)
bool GetDrawBlendedThumb () const

Private Member Functions

void Init (int minVal, int maxVal, int val, int borderType, float r)

Private Attributes

SliderListenermSliderListener
void * mSliderListenerData
int mMinVal
int mMaxVal
int mVal
int mIncrement
int mPageIncrement
int mPrecisionIdx
int mThumbW
int mThumbH
float mThumbR
bool mAutoDirection
bool mHorizontal
bool mIsPressed
bool mShowValPerc
bool mShowVal
bool mShowValNeedle
bool mUpsideDown
bool mDrawBlendedThumb
bool mShowTicks
bool mShowTickValue
int mTickInterval

Detailed Description

Definition at line 15 of file Slider.h.


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