1 #ifndef SDL2_H 2 #define SDL2_H 3 4 struct sdl2_console { 5 DisplayChangeListener dcl; 6 DisplaySurface *surface; 7 SDL_Texture *texture; 8 SDL_Window *real_window; 9 SDL_Renderer *real_renderer; 10 int idx; 11 int last_vm_running; /* per console for caption reasons */ 12 int x, y; 13 int hidden; 14 }; 15 16 #endif /* SDL2_H */ 17