summaryrefslogtreecommitdiffstats
path: root/src/ui/image.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/image.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/image.cpp')
-rw-r--r--src/ui/image.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/image.cpp b/src/ui/image.cpp
index 39ff867..f229585 100644
--- a/src/ui/image.cpp
+++ b/src/ui/image.cpp
@@ -55,7 +55,7 @@ CImage::~CImage()
// Creates a new button.
-BOOL CImage::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
+bool CImage::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
if ( eventMsg == EVENT_NULL ) eventMsg = GetUniqueEventMsg();
@@ -72,7 +72,7 @@ BOOL CImage::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
SetName(name);
}
- return TRUE;
+ return true;
}
@@ -96,9 +96,9 @@ char* CImage::RetFilenameImage()
// Management of an event.
-BOOL CImage::EventProcess(const Event &event)
+bool CImage::EventProcess(const Event &event)
{
- return TRUE;
+ return true;
}