display SDL

This commit is contained in:
2024-12-14 13:05:38 +01:00
parent 19a05574ab
commit 54e7f38ff2
14 changed files with 182 additions and 10 deletions

View File

@@ -1,7 +1,15 @@
#ifndef DISPLAY_H
#define DISPLAY_H
#include <SDL2/SDL.h>
#include "function.h"
void screenDisplay( unsigned short int **tab,int size);
int getMaxSize ();
void displayImage(SDL_Renderer *renderer, SDL_Texture *texture, vect pos, int size);
void initSDL (dis *display_user);
void screenDisplaySDL (unsigned short int **tab, dis *display_user);
#endif // !DISPLAY_H