Ajout visuel boutons retour et annuler
This commit is contained in:
parent
c14ad27b85
commit
4e94a324f5
@ -87,10 +87,13 @@ public class GameView extends View {
|
|||||||
//TODO: ajout des boutons
|
//TODO: ajout des boutons
|
||||||
//Test de bouton valider
|
//Test de bouton valider
|
||||||
this.circle.setColor(this.getResources().getColor(R.color.green));
|
this.circle.setColor(this.getResources().getColor(R.color.green));
|
||||||
canvas.drawCircle((this.getWidth()/2),this.getHeight()-this.getHeight()/16, this.getWidth()/13, this.circle);
|
canvas.drawCircle((this.getWidth()/2)+(getWidth()/11)*2,this.getHeight()-this.getHeight()/16, this.getWidth()/13, this.circle);
|
||||||
// bouton retour
|
// bouton retour
|
||||||
/*this.circle.setColor(this.getResources().getColor(R.color.blue));
|
this.circle.setColor(this.getResources().getColor(R.color.blue));
|
||||||
canvas.drawCircle((this.getWidth()/2), this.getHeight()-this.getHeight()/16, this.getWidth()/13, this.circle);*/
|
canvas.drawCircle((this.getWidth()/2), this.getHeight()-this.getHeight()/16, this.getWidth()/13, this.circle);
|
||||||
|
// bouton annuler
|
||||||
|
this.circle.setColor(this.getResources().getColor(R.color.red));
|
||||||
|
canvas.drawCircle((this.getWidth()/2)-(getWidth()/11)*2, this.getHeight()-this.getHeight()/16, this.getWidth()/13, this.circle);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Change l'état de soumission à notation après qu'une combinaision ai été soumise puis inversement
|
//Change l'état de soumission à notation après qu'une combinaision ai été soumise puis inversement
|
||||||
|
@ -14,6 +14,5 @@
|
|||||||
<color name="yellow">#FFFEC603</color>
|
<color name="yellow">#FFFEC603</color>
|
||||||
<color name="grey">#FF333333</color>
|
<color name="grey">#FF333333</color>
|
||||||
<color name="pionVide">#FF999999</color>
|
<color name="pionVide">#FF999999</color>
|
||||||
|
<color name="red">#d32f2f</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user