From b0973b26abcdaf4de47c4024822264d124138b06 Mon Sep 17 00:00:00 2001 From: martins Date: Fri, 29 Apr 2022 17:22:46 +0200 Subject: [PATCH] ok --- CASE/paintMenuJeu.class | Bin 3583 -> 3585 bytes CASE/paintMenuJeu.java | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CASE/paintMenuJeu.class b/CASE/paintMenuJeu.class index 5d646685a92bff08ef6c4594051da802cddd9113..1bd21b81107fcedb67f63d2ada508682b101ecbb 100644 GIT binary patch delta 54 zcmV-60LlOV8-X0Ktq2LE00#gB0005lv$hC^0h4|SD*+>u4+ MBmyoevrr4K0=w1^k^lez delta 116 zcmZpa`7ga;EeGc!26hG(1_s7!o40YaF}eq8ZDCMhS-_yJvztLTl39@9Kl645y=@Gd zI?T*k+ZeP21adesfDCOgV;h5x4p4(KT#g+oH@TH-5$kq_B*v?gb+}cSEMzwaaj$0r E0OuSXlmGw# diff --git a/CASE/paintMenuJeu.java b/CASE/paintMenuJeu.java index a05fd54..ab90593 100644 --- a/CASE/paintMenuJeu.java +++ b/CASE/paintMenuJeu.java @@ -93,9 +93,9 @@ public class paintMenuJeu extends JComponent{ if(this.choix==7){ if(this.survol==true){ secondPinceau.setColor(new Color(0,255,0)); - secondPinceau.fillRect(0, 0, this.getWidth()/16*5, this.getHeight()/16*5); + secondPinceau.fillRect(0, 0, this.getWidth(), this.getHeight()); } - secondPinceau.drawImage(this.replay, 0, 0, this.getWidth()/16*4, this.getHeight()/16*4 ,this); + secondPinceau.drawImage(this.replay, this.getWidth()/6, this.getHeight()/6, this.getWidth()/6*4, this.getHeight()/6*4 ,this); } } private void paintNombre(Graphics secondPinceau, int nombre){