Comments translated from French to English.

dev-ui
Programerus 2012-03-21 22:05:52 +01:00
parent 66d84132e1
commit 3a5f1eec40
1 changed files with 12 additions and 12 deletions

View File

@ -32,7 +32,7 @@ class CInstanceManager;
#define MAXEVENT 100 #define MAXEVENT 100
// Evénements. // Events.
enum EventMsg enum EventMsg
{ {
@ -92,7 +92,7 @@ enum EventMsg
EVENT_EDIT8 = 78, EVENT_EDIT8 = 78,
EVENT_EDIT9 = 79, EVENT_EDIT9 = 79,
EVENT_WINDOW0 = 80, // tableau de bord en bas EVENT_WINDOW0 = 80, // the bottom panel
EVENT_WINDOW1 = 81, // map EVENT_WINDOW1 = 81, // map
EVENT_WINDOW2 = 82, // CDisplayText EVENT_WINDOW2 = 82, // CDisplayText
EVENT_WINDOW3 = 83, // CStudio EVENT_WINDOW3 = 83, // CStudio
@ -526,14 +526,14 @@ enum EventMsg
typedef struct typedef struct
{ {
EventMsg event; // événement (EVENT_*) EventMsg event; // event (EVENT *)
long param; // paramètre long param; // parameter
FPOINT pos; // position de la souris (0..1) FPOINT pos; // mouse position (0 .. 1)
float axeX; // commande de l'axe X (-1..1) float axeX; // control the X axis (-1 .. 1)
float axeY; // commande de l'axe Y (-1..1) float axeY; // control of the Y axis (-1 .. 1)
float axeZ; // commande de l'axe Z (-1..1) float axeZ; // control the Z axis (-1 .. 1)
short keyState; // état du clavier (KS_*) short keyState; // state of the keyboard (KS_ *)
float rTime; // temps relatif float rTime; // relative time
} }
Event; Event;
@ -571,8 +571,8 @@ Event;
#define VK_BUTTON31 (0x100+31) // joystick button 31 #define VK_BUTTON31 (0x100+31) // joystick button 31
#define VK_BUTTON32 (0x100+32) // joystick button 32 #define VK_BUTTON32 (0x100+32) // joystick button 32
#define VK_WHEELUP (0x200+1) // molette souris up #define VK_WHEELUP (0x200+1) // Mousewheel up
#define VK_WHEELDOWN (0x200+2) // molette souris down #define VK_WHEELDOWN (0x200+2) // Mousewheel down
enum KeyRank enum KeyRank