2021-11-22 17:29:33 +01:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <graph.h>
|
|
|
|
|
2021-12-07 15:48:21 +01:00
|
|
|
#include "graph_sup.h"
|
2021-12-07 14:55:51 +01:00
|
|
|
#include "menu.h"
|
2021-11-22 17:29:33 +01:00
|
|
|
|
2021-12-02 15:57:18 +01:00
|
|
|
int main(int argc, char* argv[]) {
|
2021-11-22 17:29:33 +01:00
|
|
|
InitialiserGraphique();
|
2021-12-04 00:08:27 +01:00
|
|
|
CreerFenetre((Maxx() - WIDTH) / 2, (Maxy() - HEIGHT) / 2, 1200, 700);
|
|
|
|
ChoisirTitreFenetre("Taquin"); /* Ben alors Denis, on nous cache des fonctions ? */
|
2021-12-09 11:26:52 +01:00
|
|
|
while (1) {
|
|
|
|
if (!DrawMenu()) break;
|
|
|
|
};
|
2021-11-22 17:29:33 +01:00
|
|
|
FermerGraphique();
|
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|