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


Public Member Functions | |
| IntervalChooser (Window *parent, int x, int y, int w, int h, int minVal, int maxVal, int startVal, int endVal) | |
| void | SetIntervalChooserListener (IntervalChooserListener *li, void *userData) |
| SizableDirectionButton * | StartThumb () |
| SizableDirectionButton * | EndThumb () |
| void | IntervalColor (ULONG col) |
| void | IntervalY (int y) |
| void | MinInterval (int sz) |
| int | Val2Pixel (int val) |
| int | Pixel2Val (int pix) |
| int | NeedleX (SizableDirectionButton *szBtn) |
| int | SetNeedleX (SizableDirectionButton *szBtn, int x) |
| void | SetHighlightBorderType (int mode) |
| virtual void | DisplayFunc () |
| virtual void | ReshapeFunc (int w, int h) |
| virtual void | MouseFunc (int msg, int but, 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 | |
| void | ClampX (int &x) |
| void | HandleThumbs () |
| SizableDirectionButton * | MakeThumb (Window *parent, int x, int y, int w, int h, ULONG col, ULONG hCol) |
Private Member Functions | |
| void | Init (int w, int h, int minVal, int maxVal, int startVal, int endVal) |
Private Attributes | |
| IntervalChooserListener * | mListener |
| void * | mUserData |
| SizableDirectionButton * | mStartThumb |
| SizableDirectionButton * | mEndThumb |
| ULONG | mStartColor |
| ULONG | mEndColor |
| ULONG | mIntervalColor |
| int | mMinVal |
| int | mMaxVal |
| int | mStartVal |
| int | mEndVal |
| int | mMinInterval |
| int | mMinSizePix |
| int | mOldMinSizePix |
| int | mIntervalY |
| int | mOldStartX |
| int | mOldEndX |
| int | mDragDiffX |
| bool | mDragging |
| bool | mReshaping |
Definition at line 15 of file IntervalChooser.h.
1.5.1