#include <Slider.h>
Inheritance diagram for OglGui::Slider:


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 | |
| SliderListener * | mSliderListener |
| 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 |
Definition at line 15 of file Slider.h.
1.5.1