J'ai changer les images car elles étaient tous en 400x400 alors qu'il failait des dimensions différentes, il y avait aussi un petit problème dans le découpage c'était décaler de 1

This commit is contained in:
2025-12-06 12:08:54 +01:00
parent 5b4be0bce9
commit a06a3059aa
8 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -55,12 +55,12 @@ int main(void){
}
else if(touche == XK_2 || touche == XK_KP_2) {
nom_image = "image2.png";
img_w = 400; img_h = 400;
img_w = 600; img_h = 600;
choix_image_fait = 2;
}
else if(touche == XK_3 || touche == XK_KP_3) {
nom_image = "image3.png";
img_w = 400; img_h = 400;
img_w = 800; img_h = 800;
choix_image_fait = 3;
}
else if(touche == XK_q || touche == XK_Q) {
@@ -164,6 +164,7 @@ int main(void){
/* Pour quitter on clique sur q */
if (touche == XK_q || touche == XK_Q) {
FermerGraphique();
return 0;
}