archeus/include/arc/graphics/sdl/window.h

27 lines
502 B
C
Raw Normal View History

#ifndef ARC_SDL_WINDOW_H_
#define ARC_SDL_WINDOW_H_
#ifdef ARC_SDL2_GRAPHICS
#include "arc/graphics/window.h"
2023-03-11 01:21:36 -07:00
#include <SDL.h>
2023-03-10 17:34:22 -07:00
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_SDL2_GRAPHICS
2023-03-10 17:34:22 -07:00
#endif // !ARC_SDL_WINDOW_H_