summaryrefslogtreecommitdiffstats
path: root/src/slider.cpp
diff options
context:
space:
mode:
authorKrzysztof H <krzys_h@interia.pl>2012-03-19 12:44:39 +0100
committerKrzysztof H <krzys_h@interia.pl>2012-03-19 12:44:39 +0100
commitf7d892cf4ef6bfce3747c4b6a810d4828b79833d (patch)
tree8311c7057b5f861c387ecc8c96cd778abc47c8d8 /src/slider.cpp
parent343cb0ce660136ac034e6106c0f151466b751398 (diff)
downloadcolobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.tar.gz
colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.tar.bz2
colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.zip
Last coding fix ;)
Diffstat (limited to 'src/slider.cpp')
-rw-r--r--src/slider.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/slider.cpp b/src/slider.cpp
index 7047456..280b5fe 100644
--- a/src/slider.cpp
+++ b/src/slider.cpp
@@ -1,4 +1,4 @@
-// * This file is part of the COLOBOT source code
+// * This file is part of the COLOBOT source code
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
// *
// * This program is free software: you can redistribute it and/or modify
@@ -12,7 +12,7 @@
// * GNU General Public License for more details.
// *
// * You should have received a copy of the GNU General Public License
-// * along with this program. If not, see http://www.gnu.org/licenses/.
+// * along with this program. If not, see http://www.gnu.org/licenses/.// slider.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -73,7 +73,7 @@ CSlider::~CSlider()
}
-// Cr�e un nouveau bouton.
+// Crée un nouveau bouton.
BOOL CSlider::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
@@ -104,7 +104,7 @@ void CSlider::MoveAdjust()
m_bHoriz = ( m_dim.x > m_dim.y );
if ( ( m_bHoriz && m_dim.x < m_dim.y*4.0f) ||
- (!m_bHoriz && m_dim.y < m_dim.x*4.0f) ) // slider tr�s court ?
+ (!m_bHoriz && m_dim.y < m_dim.x*4.0f) ) // slider très court ?
{
delete m_buttonLeft;
m_buttonLeft = 0;
@@ -245,7 +245,7 @@ BOOL CSlider::ClearState(int state)
}
-// Gestion d'un �v�nement.
+// Gestion d'un événement.
BOOL CSlider::EventProcess(const Event &event)
{