5d0fe65078
Create sdl2.h header file, in preparation for sdl2 code splitup. Populate it with sdl2_console struct (renamed from sdl2_state). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
17 lines
331 B
C
17 lines
331 B
C
#ifndef SDL2_H
|
|
#define SDL2_H
|
|
|
|
struct sdl2_console {
|
|
DisplayChangeListener dcl;
|
|
DisplaySurface *surface;
|
|
SDL_Texture *texture;
|
|
SDL_Window *real_window;
|
|
SDL_Renderer *real_renderer;
|
|
int idx;
|
|
int last_vm_running; /* per console for caption reasons */
|
|
int x, y;
|
|
int hidden;
|
|
};
|
|
|
|
#endif /* SDL2_H */
|