2010-01-28 18:31:37 -08:00
|
|
|
#ifndef _EVAS_ENGINE_GL_SDL_H
|
|
|
|
#define _EVAS_ENGINE_GL_SDL_H
|
|
|
|
|
2015-08-05 21:40:43 -07:00
|
|
|
#include <SDL2/SDL.h>
|
2010-01-28 18:31:37 -08:00
|
|
|
|
|
|
|
typedef struct _Evas_Engine_Info_GL_SDL Evas_Engine_Info_GL_SDL;
|
|
|
|
|
|
|
|
struct _Evas_Engine_Info_GL_SDL
|
|
|
|
{
|
|
|
|
/* PRIVATE - don't mess with this baby or evas will poke its tongue out */
|
|
|
|
/* at you and make nasty noises */
|
|
|
|
Evas_Engine_Info magic;
|
|
|
|
|
2014-07-25 11:23:42 -07:00
|
|
|
SDL_Window *window;
|
|
|
|
|
2010-01-28 18:31:37 -08:00
|
|
|
/* engine specific data & parameters it needs to set up */
|
|
|
|
struct {
|
|
|
|
int rotation;
|
|
|
|
int fullscreen : 1;
|
|
|
|
int noframe : 1;
|
|
|
|
} flags;
|
|
|
|
};
|
|
|
|
#endif
|