summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/windows/window.h')
-rw-r--r--src/osd/windows/window.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h
index 882f0aef00d..7e99ec04b38 100644
--- a/src/osd/windows/window.h
+++ b/src/osd/windows/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;
};