Ajout visuel boutons retour et annuler
This commit is contained in:
		@@ -87,10 +87,13 @@ public class GameView extends View {
 | 
			
		||||
        //TODO: ajout des boutons
 | 
			
		||||
        //Test de bouton valider
 | 
			
		||||
        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
 | 
			
		||||
        /*this.circle.setColor(this.getResources().getColor(R.color.blue));
 | 
			
		||||
        canvas.drawCircle((this.getWidth()/2), this.getHeight()-this.getHeight()/16, this.getWidth()/13, this.circle);*/
 | 
			
		||||
        this.circle.setColor(this.getResources().getColor(R.color.blue));
 | 
			
		||||
        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
 | 
			
		||||
 
 | 
			
		||||
@@ -14,6 +14,5 @@
 | 
			
		||||
    <color name="yellow">#FFFEC603</color>
 | 
			
		||||
    <color name="grey">#FF333333</color>
 | 
			
		||||
    <color name="pionVide">#FF999999</color>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <color name="red">#d32f2f</color>
 | 
			
		||||
</resources>
 | 
			
		||||
		Reference in New Issue
	
	Block a user