32 static unsigned int tmp=0;
33 static unsigned int temp=0;
35 static unsigned int crono_ordre=0;
36 static unsigned int crono_marque=0;
37 static unsigned int crono_temps=0;
38 static unsigned int crono_secondes=0;
39 static unsigned int crono_minutes=0;
40 static unsigned int crono_heure=0;
41 static unsigned int crono_jours=0;
42 static unsigned int crono_hms=0;
52 strcpy (infoinline[PARA_LIBRE()],
53 "La touche F5 permet un rafraichissement de l'écran. Si la touche 1 est pressée avant, l'affichage s'inverse (N/B).");
55 strcpy (infoinline[PARA_LIBRE()],
56 "Touche 2 avant pour 2em écran, Touche 4 avant pour 8lignes/4lignes");
58 strcpy (infoinline[PARA_LIBRE()],
59 "La touche F6 permet de Mêmoriser des valeurs.");
61 strcpy (infoinline[PARA_LIBRE()],
62 "La touche F7 permet de baculer dans l'écran utilisateur (valeurs memorisées).");
64 strcpy (infoinline[PARA_LIBRE()],
65 "F8 pour sortir, esc pr message suivant.");
73 val_enter_max=1000000000;
74 Val_enter=&crono_ordre;
82 crono_temps=treel-crono_marque;
85 crono_temps=crono_marque-treel;
92 crono_marque=treel+crono_ordre;
96 crono_jours=crono_temps/(24*3600);
97 crono_heure=(crono_temps/3600)%(24);
98 crono_minutes=(crono_temps/60)%60;
99 crono_secondes=(crono_temps)%60;
100 crono_hms=(crono_jours*1000000)+(crono_heure*10000)+(crono_minutes*100)+(crono_secondes);
102 strcpy (texte[0],
"CRONO");
103 strcpy (texte[1],
"Sec tot");
105 Val_mem[1]=&crono_temps;
106 Val_max[1]=30*24*60*60;
125 strcpy (texte[3],
"Pour JJ HH MM SS");
132 crono_marque=VAL_ENTRER (crono_marque,GROS);
135 crono_jours=crono_marque/(1000000);
136 crono_marque=crono_marque-(crono_jours*1000000);
137 crono_heure=(crono_marque/10000);
138 crono_marque=crono_marque-(crono_heure*10000);
139 crono_minutes=(crono_marque/100);
140 crono_marque=crono_marque-(crono_minutes*100);
141 crono_secondes=(crono_marque);
142 crono_marque=(crono_jours*24*3600)+(crono_heure*3600)+(crono_minutes*60)+(crono_secondes);
144 crono_marque=crono_marque+treel;
#define MES_DATE
Definition: Messages.h:19