Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Ajout du clic droit pour valider une solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Feelzor committed Jan 27, 2019
1 parent 68933b2 commit a8cce28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion p_vue_graph.adb
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ package body p_vue_graph is
fenetre : TR_Fenetre;
begin
fenetre := debutFenetre("Jeu", 500, 650);
ajouterBoutonInvisible(fenetre, "invisible", 0, 0, 500, 700);
afficherGrille(fenetre, 50, 100);
ajouterTexte(fenetre, "Txt1", "Score : ", 50, 50, 120, 30);
ajouterTexte(fenetre, "Score", "0 Point", 170, 50, 120, 30);
Expand Down Expand Up @@ -542,7 +543,7 @@ package body p_vue_graph is
caseClic : string(1..2);
begin --
if jeuEnCours then -- Si le jeu est en cours
if elem = "SolutionProp" or elem = "valider" then -- Validation d'une solution
if elem = "SolutionProp" or elem = "valider" or clickDroit then -- Validation d'une solution
declare
solution : string := trim(consulterContenu(fenetre, "SolutionProp") & casesClic, BOTH);
begin
Expand Down

0 comments on commit a8cce28

Please sign in to comment.