BUT2/DEV/DEV1.1_suite/TP_FILES/bouton.h~

15 lines
265 B
C
Raw Normal View History

2023-10-23 13:23:36 +02:00
#ifndef BOUTON_H
#define BOUTON_H
typedef struct bouton{
int xmin;
int xmax;
int ymin;
int ymax;
}bouton;
void creerBouton(bouton** boutons);
int detectClic(bouton* boutons, int choix);
void afficheBouton(bouton* boutons, int numBouton, int etat);
#endif