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.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/osd/sdl/window.h b/src/osd/sdl/window.h
index c582d09cf7d..57ac325a377 100644
--- a/src/osd/sdl/window.h
+++ b/src/osd/sdl/window.h
@@ -32,13 +32,22 @@ typedef UINT32 HashT;
// TYPE DEFINITIONS
//============================================================
+/* ------------------------------------------------------
+ *
+ * All types named osd_* will ultimately be located in
+ * the modules tree. They are temporarily maintained in
+ * window.h until basic code simplification is finished.
+ *
+ */
+
+class win_window_info;
+
class osd_window
{
public:
osd_window()
:
#ifdef OSD_SDL
- m_start_viewscreen(0),
#else
m_hwnd(0), m_focus_hwnd(0), m_monitor(NULL), m_resize_state(0),
m_maxwidth(0), m_maxheight(0),
@@ -64,15 +73,14 @@ public:
#else
virtual SDL_Surface *sdl_surface() = 0;
#endif
-
- int m_start_viewscreen;
-
#else
virtual bool win_has_menu() = 0;
virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;
// window handle and info
HWND m_hwnd;
+ // 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;
// monitor info