archeus/include/arc/graphics/sdl/window.h
2023-03-10 17:34:22 -07:00

27 lines
483 B
C

#ifndef ARC_SDL_WINDOW_H_
#define ARC_SDL_WINDOW_H_
#ifdef ARC_SDL
#include <SDL.h>
#include "arc/graphics/window.h"
typedef SDL_Window ARC_WindowType;
/**
* @brief struct for info needed to create SDL_Window
*
* @note this is what needs to be passed into the data parameter for ARC_Window_Create
*/
struct ARC_WindowInfo {
char *title;
int x;
int y;
int w;
int h;
Uint32 flags;
};
#endif // !ARC_SDL
#endif // !ARC_SDL_WINDOW_H_