summaryrefslogtreecommitdiffstats
path: root/src/scroll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scroll.cpp')
-rw-r--r--src/scroll.cpp22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/scroll.cpp b/src/scroll.cpp
index c5a7afc..64cbdcd 100644
--- a/src/scroll.cpp
+++ b/src/scroll.cpp
@@ -1,4 +1,18 @@
-// scroll.cpp
+// * 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
+// * it under the terms of the GNU General Public License as published by
+// * the Free Software Foundation, either version 3 of the License, or
+// * (at your option) any later version.
+// *
+// * This program is distributed in the hope that it will be useful,
+// * but WITHOUT ANY WARRANTY; without even the implied warranty of
+// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// * 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 .
#define STRICT
#define D3D_OVERLOADS
@@ -49,7 +63,7 @@ CScroll::~CScroll()
}
-// Crée un nouveau bouton.
+// Cr�e un nouveau bouton.
BOOL CScroll::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
@@ -80,7 +94,7 @@ void CScroll::MoveAdjust()
CButton* pc;
FPOINT pos, dim;
- if ( m_dim.y < m_dim.x*2.0f ) // ascenseur très court ?
+ if ( m_dim.y < m_dim.x*2.0f ) // ascenseur tr�s court ?
{
delete m_buttonUp;
m_buttonUp = 0;
@@ -185,7 +199,7 @@ BOOL CScroll::ClearState(int state)
}
-// Gestion d'un événement.
+// Gestion d'un �v�nement.
BOOL CScroll::EventProcess(const Event &event)
{