summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorProgramerus <alcadeias95@gmail.com>2012-03-22 17:27:15 +0100
committerProgramerus <alcadeias95@gmail.com>2012-03-22 17:27:15 +0100
commit242051ac39926e5416aef28c3d0554f7245fbc28 (patch)
treebc2c83c1de1e50efe48d4ea54379a484792a0518
parent9f49265776ca4df41f8fb70a6c7fc4194b0623bc (diff)
downloadcolobot-242051ac39926e5416aef28c3d0554f7245fbc28.tar.gz
colobot-242051ac39926e5416aef28c3d0554f7245fbc28.tar.bz2
colobot-242051ac39926e5416aef28c3d0554f7245fbc28.zip
Comments translated from French to English.
-rw-r--r--src/label.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/label.cpp b/src/label.cpp
index af48332..6414796 100644
--- a/src/label.cpp
+++ b/src/label.cpp
@@ -12,7 +12,9 @@
// * 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/.// label.cpp
+// * along with this program. If not, see http://www.gnu.org/licenses/.
+
+// label.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -33,14 +35,14 @@
-// Constructeur de l'objet.
+// Object's constructor.
CLabel::CLabel(CInstanceManager* iMan) : CControl(iMan)
{
CControl::CControl(iMan);
}
-// Destructeur de l'objet.
+// Object's destructor.
CLabel::~CLabel()
{
@@ -48,7 +50,7 @@ CLabel::~CLabel()
}
-// Crée un nouveau bouton.
+// Creates a new button.
BOOL CLabel::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
{
@@ -59,7 +61,7 @@ BOOL CLabel::Create(FPOINT pos, FPOINT dim, int icon, EventMsg eventMsg)
}
-// Gestion d'un événement.
+// Management of an event.
BOOL CLabel::EventProcess(const Event &event)
{
@@ -68,7 +70,7 @@ BOOL CLabel::EventProcess(const Event &event)
}
-// Dessine le bouton.
+// Draws button.
void CLabel::Draw()
{