Commit 8d78341d authored by Alexandre De Fonvillars's avatar Alexandre De Fonvillars
Browse files

Update u4-fonctions.cpp

parent 7cd506c2
......@@ -90,6 +90,28 @@ void InitialiserDonnees()
//gDonnees.corde.Oke[0] = 0;
gDonnees.i = 1;
gDonnees.Psub = P_submax;
//initialisation interface graphique
gInterface.SliderK1->value(gDonnees.corde.k1);
gInterface.SliderK2->value(gDonnees.corde.k2);
gInterface.SliderKc->value(gDonnees.corde.kc);
gInterface.SliderM->value(gDonnees.corde.m*10e3);
gInterface.SliderR1->value(gDonnees.corde.r1*10e2);
gInterface.SliderR2->value(gDonnees.corde.r2*10e2);
gInterface.SliderX3->value(gDonnees.corde.x[3]*10e4);
gInterface.SliderX2->value(gDonnees.corde.x[2]*10e4);
gInterface.SliderX1->value(gDonnees.corde.x[1]*10e4);
gInterface.SliderH0->value(gDonnees.corde.h[0]*10e2);
gInterface.SliderH1->value(gDonnees.corde.h[1]*10e3);
gInterface.SliderH2->value(gDonnees.corde.h[2]*10e3);
gInterface.SliderPsub->value(gDonnees.Psub/10);
// Exemple son
//JouerSon("media/r2d2.mp3");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment