diff options
author | Krzysztof H <krzys_h@interia.pl> | 2012-03-19 12:44:39 +0100 |
---|---|---|
committer | Krzysztof H <krzys_h@interia.pl> | 2012-03-19 12:44:39 +0100 |
commit | f7d892cf4ef6bfce3747c4b6a810d4828b79833d (patch) | |
tree | 8311c7057b5f861c387ecc8c96cd778abc47c8d8 /src/editvalue.cpp | |
parent | 343cb0ce660136ac034e6106c0f151466b751398 (diff) | |
download | colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.tar.gz colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.tar.bz2 colobot-f7d892cf4ef6bfce3747c4b6a810d4828b79833d.zip |
Last coding fix ;)
Diffstat (limited to 'src/editvalue.cpp')
-rw-r--r-- | src/editvalue.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/editvalue.cpp b/src/editvalue.cpp index 69e7c85..6a00cc3 100644 --- a/src/editvalue.cpp +++ b/src/editvalue.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/.// editvalue.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -62,7 +62,7 @@ CEditValue::~CEditValue() }
-// Cr�e un nouveau bouton.
+// Crée un nouveau bouton.
BOOL CEditValue::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
@@ -142,7 +142,7 @@ void CEditValue::MoveAdjust() }
-// Gestion d'un �v�nement.
+// Gestion d'un événement.
BOOL CEditValue::EventProcess(const Event &event)
{
@@ -222,7 +222,7 @@ BOOL CEditValue::EventProcess(const Event &event) }
-// Met en �vidence la valeur �dit�e.
+// Met en évidence la valeur éditée.
void CEditValue::HiliteValue(const Event &event)
{
@@ -233,7 +233,7 @@ void CEditValue::HiliteValue(const Event &event) pos = m_edit->RetTextLength();
if ( m_type == EVT_100 && pos > 0 )
{
- pos --; // ne s�lectionne pas le "%"
+ pos --; // ne sélectionne pas le "%"
}
m_edit->SetCursor(pos, 0);
@@ -242,7 +242,7 @@ void CEditValue::HiliteValue(const Event &event) Event newEvent = event;
newEvent.event = EVENT_FOCUS;
newEvent.param = m_edit->RetEventMsg();
- m_event->AddEvent(newEvent); // d�focus les autres objets
+ m_event->AddEvent(newEvent); // défocus les autres objets
}
@@ -320,7 +320,7 @@ void CEditValue::SetValue(float value, BOOL bSendMessage) }
}
-// Retourne la valeur �dit�e.
+// Retourne la valeur éditée.
float CEditValue::RetValue()
{
|