26 lines
434 B
C
26 lines
434 B
C
|
|
#ifndef ARC_SDL_RENDERER_H_
|
||
|
|
#define ARC_SDL_RENDERER_H_
|
||
|
|
|
||
|
|
#ifdef ARC_SDL
|
||
|
|
|
||
|
|
#include <SDL.h>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @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;
|
||
|
|
} ARC_WindowInfo;
|
||
|
|
|
||
|
|
#endif // ARC_SDL
|
||
|
|
|
||
|
|
#endif // ARC_SDL_RENDERER_H_
|