diff options
Diffstat (limited to 'src/ui/slider.h')
-rw-r--r-- | src/ui/slider.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/slider.h b/src/ui/slider.h index 91199ed..8d1033f 100644 --- a/src/ui/slider.h +++ b/src/ui/slider.h @@ -34,16 +34,16 @@ public: CSlider(CInstanceManager* iMan);
~CSlider();
- BOOL Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg);
+ bool Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg);
void SetPos(FPOINT pos);
void SetDim(FPOINT dim);
- BOOL SetState(int state, BOOL bState);
- BOOL SetState(int state);
- BOOL ClearState(int state);
+ bool SetState(int state, bool bState);
+ bool SetState(int state);
+ bool ClearState(int state);
- BOOL EventProcess(const Event &event);
+ bool EventProcess(const Event &event);
void Draw();
void SetLimit(float min, float max);
@@ -68,10 +68,10 @@ protected: float m_visibleValue;
float m_step;
- BOOL m_bHoriz;
+ bool m_bHoriz;
float m_marginButton;
- BOOL m_bCapture;
+ bool m_bCapture;
FPOINT m_pressPos;
float m_pressValue;
|