summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/window.h')
-rw-r--r--src/osd/sdl/window.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/osd/sdl/window.h b/src/osd/sdl/window.h
index 352ed0d17e4..b5f9e07d2ab 100644
--- a/src/osd/sdl/window.h
+++ b/src/osd/sdl/window.h
@@ -35,11 +35,11 @@ typedef UINT32 HashT;
struct sdl_window_info
{
// Pointer to next window
- sdl_window_info * next;
+ sdl_window_info * next;
// Pointer to machine
running_machine &machine() const { assert(m_machine != NULL); return *m_machine; }
- running_machine * m_machine;
+ running_machine * m_machine;
// Draw Callbacks
int (*create)(sdl_window_info *window, int width, int height);
@@ -52,51 +52,51 @@ struct sdl_window_info
void (*clear)(sdl_window_info *window);
// window handle and info
- char title[256];
+ char title[256];
// monitor info
- sdl_monitor_info * monitor;
- int fullscreen;
- int index;
+ sdl_monitor_info * monitor;
+ int fullscreen;
+ int index;
// diverse flags
- int minwidth, minheight;
- int maxwidth, maxheight;
- int depth;
- int refresh;
- int windowed_width;
- int windowed_height;
- int startmaximized;
+ int minwidth, minheight;
+ int maxwidth, maxheight;
+ int depth;
+ int refresh;
+ int windowed_width;
+ int windowed_height;
+ int startmaximized;
// rendering info
- osd_event * rendered_event;
- render_target * target;
+ osd_event * rendered_event;
+ render_target * target;
render_primitive_list *primlist;
// drawing data
- void * dxdata;
+ void * dxdata;
// cache of physical width and height
- int width;
- int height;
+ int width;
+ int height;
// current blitwidth and height
- int blitwidth;
- int blitheight;
+ int blitwidth;
+ int blitheight;
- int totalColors; // total colors from machine/sdl_window_config
- int start_viewscreen;
+ int totalColors; // total colors from machine/sdl_window_config
+ int start_viewscreen;
// GL specific
- int prescale;
+ int prescale;
#if (SDLMAME_SDL2)
// Needs to be here as well so we can identify window
- SDL_Window *sdl_window;
+ SDL_Window *sdl_window;
// These are used in combine resizing events ... #if SDL13_COMBINE_RESIZE
- int resize_width;
- int resize_height;
- osd_ticks_t last_resize;
+ int resize_width;
+ int resize_height;
+ osd_ticks_t last_resize;
#endif
};