diff options
Diffstat (limited to 'src/osd/sdl/window.h')
-rw-r--r-- | src/osd/sdl/window.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/osd/sdl/window.h b/src/osd/sdl/window.h index 8c10c9130e8..3c0c7278210 100644 --- a/src/osd/sdl/window.h +++ b/src/osd/sdl/window.h @@ -53,7 +53,7 @@ public: #endif m_prescale(1), m_primlist(NULL) - {} + {} virtual ~osd_window() { } virtual render_target *target() = 0; @@ -81,18 +81,18 @@ public: virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0; // window handle and info - HWND m_hwnd; - HDC m_dc; // only used by GDI renderer! + HWND m_hwnd; + HDC m_dc; // only used by GDI renderer! // FIXME: this is the same as win_window_list->m_hwnd, i.e. first window. // During modularization, this should be passed in differently - HWND m_focus_hwnd; + HWND m_focus_hwnd; - int m_resize_state; + int m_resize_state; #endif - osd_window_config m_win_config; - int m_prescale; - render_primitive_list *m_primlist; + osd_window_config m_win_config; + int m_prescale; + render_primitive_list *m_primlist; }; class osd_renderer @@ -100,13 +100,13 @@ class osd_renderer public: /* Generic flags */ - static const int FLAG_NONE = 0x0000; - static const int FLAG_NEEDS_OPENGL = 0x0001; - static const int FLAG_HAS_VECTOR_SCREEN = 0x0002; + static const int FLAG_NONE = 0x0000; + static const int FLAG_NEEDS_OPENGL = 0x0001; + static const int FLAG_HAS_VECTOR_SCREEN = 0x0002; /* SDL 1.2 flags */ - static const int FLAG_NEEDS_DOUBLEBUF = 0x0100; - static const int FLAG_NEEDS_ASYNCBLIT = 0x0200; + static const int FLAG_NEEDS_DOUBLEBUF = 0x0100; + static const int FLAG_NEEDS_ASYNCBLIT = 0x0200; osd_renderer(osd_window *window, const int flags) : m_window(window), m_flags(flags) { } @@ -139,11 +139,11 @@ public: protected: /* Internal flags */ - static const int FI_CHANGED = 0x010000; + static const int FI_CHANGED = 0x010000; private: - osd_window *m_window; + osd_window *m_window; int m_flags; }; @@ -161,7 +161,7 @@ public: m_resize_height(0), m_last_resize(0), #endif - m_minwidth(0), m_minheight(0), + m_minwidth(0), m_minheight(0), m_rendered_event(0), m_target(0), #if (SDLMAME_SDL2) m_sdl_window(NULL), @@ -256,7 +256,7 @@ private: SDL_Surface *m_sdlsurf; #endif - int m_extra_flags; + int m_extra_flags; void set_renderer(osd_renderer *renderer) { @@ -281,7 +281,7 @@ private: sdl_monitor_info * m_monitor; int m_fullscreen; int m_index; - osd_renderer * m_renderer; + osd_renderer * m_renderer; // static callbacks ... |