Fix d'un bug suite au changement de la couleurs du background, lorsqu'on retourne dans le menu principal.
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -28,6 +28,7 @@ int main() {
|
||||
|
||||
while (quitter == false) {
|
||||
curseur(false);
|
||||
backgroundDefault();
|
||||
afficherMenu("AfficheMenu/Taxon.txt");
|
||||
|
||||
int choixMenu = _getch();
|
||||
@@ -37,6 +38,8 @@ int main() {
|
||||
afficherMenu("AfficheMenu/TaxonOption1.txt");
|
||||
delai();
|
||||
curseur(true);
|
||||
system("cls");
|
||||
background(temp);
|
||||
choisirMot("Mots/mot3lettres.txt", nbMot3lettre);
|
||||
break;
|
||||
|
||||
@@ -44,6 +47,7 @@ int main() {
|
||||
afficherMenu("AfficheMenu/TaxonOption2.txt");
|
||||
delai();
|
||||
curseur(true);
|
||||
system("cls");
|
||||
temp = demanderBackground();
|
||||
background(temp);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user