From 84d1f79fdf02e0010e4b2d118458e8cd8ce0dd71 Mon Sep 17 00:00:00 2001 From: Krzysztof H Date: Fri, 9 Mar 2012 17:08:05 +0100 Subject: Added license info using a small program SrcHead. --- src/control.h | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) (limited to 'src/control.h') diff --git a/src/control.h b/src/control.h index d40b3a1..fb31da7 100644 --- a/src/control.h +++ b/src/control.h @@ -1,4 +1,18 @@ -// control.h +// * 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 . #ifndef _CONTROL_H_ #define _CONTROL_H_ @@ -15,20 +29,20 @@ enum FontType; #define STATE_ENABLE (1<<0) // actif -#define STATE_CHECK (1<<1) // enfoncé -#define STATE_HILIGHT (1<<2) // survolé par la souris -#define STATE_PRESS (1<<3) // pressé par la souris +#define STATE_CHECK (1<<1) // enfonc� +#define STATE_HILIGHT (1<<2) // survol� par la souris +#define STATE_PRESS (1<<3) // press� par la souris #define STATE_VISIBLE (1<<4) // visible #define STATE_DEAD (1<<5) // inaccessible (x) -#define STATE_DEFAULT (1<<6) // actionné par RETURN -#define STATE_OKAY (1<<7) // point vert en bas à droite +#define STATE_DEFAULT (1<<6) // actionn� par RETURN +#define STATE_OKAY (1<<7) // point vert en bas � droite #define STATE_SHADOW (1<<8) // ombre #define STATE_GLINT (1<<9) // reflet dynamique #define STATE_CARD (1<<10) // onglet -#define STATE_EXTEND (1<<11) // mode étendu +#define STATE_EXTEND (1<<11) // mode �tendu #define STATE_SIMPLY (1<<12) // sans ornements -#define STATE_FRAME (1<<13) // cadre de mise en évidence -#define STATE_WARNING (1<<14) // cadre hachuré jaune/noir +#define STATE_FRAME (1<<13) // cadre de mise en �vidence +#define STATE_WARNING (1<<14) // cadre hachur� jaune/noir #define STATE_VALUE (1<<15) // affiche la valeur #define STATE_RUN (1<<16) // programme en cours @@ -96,8 +110,8 @@ protected: FPOINT m_pos; // coin sup/gauche FPOINT m_dim; // dimensions int m_icon; - EventMsg m_eventMsg; // message à envoyer si clic - int m_state; // états (STATE_*) + EventMsg m_eventMsg; // message � envoyer si clic + int m_state; // �tats (STATE_*) float m_fontSize; // taille du nom du bouton float m_fontStretch; // stretch de la fonte FontType m_fontType; // type de la fonte -- cgit v1.2.3-1-g7c22