summaryrefslogtreecommitdiffstats
path: root/src/ui/gauge.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-10 15:28:12 +0200
commit697fbdabf10d956e0f13bfbc9414d3db40f0c535 (patch)
treeab80ba3119d07b11da5478009b905edb702c103f /src/ui/gauge.cpp
parent680af178196217bdd255d2bc851f240983144ac1 (diff)
downloadcolobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.gz
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.tar.bz2
colobot-697fbdabf10d956e0f13bfbc9414d3db40f0c535.zip
BOOL -> bool; additional fixes in constructors/destructors
Diffstat (limited to 'src/ui/gauge.cpp')
-rw-r--r--src/ui/gauge.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/gauge.cpp b/src/ui/gauge.cpp
index b01230c..b7a1b1a 100644
--- a/src/ui/gauge.cpp
+++ b/src/ui/gauge.cpp
@@ -50,18 +50,18 @@ CGauge::~CGauge()
// Creates a new button.
-BOOL CGauge::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CGauge::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
CControl::Create(pos, dim, icon, eventMsg);
- return TRUE;
+ return true;
}
// Management of an event.
-BOOL CGauge::EventProcess(const Event &event)
+bool CGauge::EventProcess(const Event &event)
{
CControl::EventProcess(event);
@@ -72,11 +72,11 @@ BOOL CGauge::EventProcess(const Event &event)
Event newEvent = event;
newEvent.event = m_eventMsg;
m_event->AddEvent(newEvent);
- return FALSE;
+ return false;
}
}
- return TRUE;
+ return true;
}