summaryrefslogtreecommitdiffstats
path: root/src/ui/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/button.h')
-rw-r--r--src/ui/button.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ui/button.h b/src/ui/button.h
index 9056ae2..cc34997 100644
--- a/src/ui/button.h
+++ b/src/ui/button.h
@@ -32,24 +32,24 @@ public:
CButton(CInstanceManager* iMan);
virtual ~CButton();
- BOOL Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg);
+ bool Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg);
- BOOL EventProcess(const Event &event);
+ bool EventProcess(const Event &event);
void Draw();
- void SetImmediat(BOOL bRepeat);
- BOOL RetImmediat();
+ void SetImmediat(bool bRepeat);
+ bool RetImmediat();
- void SetRepeat(BOOL bRepeat);
- BOOL RetRepeat();
+ void SetRepeat(bool bRepeat);
+ bool RetRepeat();
protected:
protected:
- BOOL m_bCapture;
- BOOL m_bImmediat;
- BOOL m_bRepeat;
+ bool m_bCapture;
+ bool m_bImmediat;
+ bool m_bRepeat;
float m_repeat;
};