summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/window.h
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-06-10 07:50:20 -0400
committer Brad Hughes <bradhugh@outlook.com>2016-06-10 22:55:00 -0400
commit6bea81d33a449f2892d1527f6acc1e6ae8057726 (patch)
tree7bfb7e55dd6b522484beed37dd16933b3afabebc /src/osd/windows/window.h
parent2030b4f3e5819be4a9c73216c1e39f5edbf41b4a (diff)
Unify window_list in Windows and SDL OSD
Diffstat (limited to 'src/osd/windows/window.h')
-rw-r--r--src/osd/windows/window.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h
index b9f84b725b3..a383b425541 100644
--- a/src/osd/windows/window.h
+++ b/src/osd/windows/window.h
@@ -48,14 +48,13 @@ class win_window_info : public osd_window
{
public:
win_window_info(running_machine &machine, int index, osd_monitor_info *monitor, const osd_window_config *config);
- virtual ~win_window_info();
running_machine &machine() const override { return m_machine; }
virtual render_target *target() override { return m_target; }
int fullscreen() const override { return m_fullscreen; }
- void update();
+ void update() override;
virtual osd_monitor_info *winwindow_video_window_monitor(const osd_rect *proposed) override;
@@ -86,7 +85,7 @@ public:
virtual osd_monitor_info *monitor() const override { return m_monitor; }
- void destroy();
+ void destroy() override;
// static
@@ -126,9 +125,6 @@ public:
int m_lastclickx;
int m_lastclicky;
- // drawing data
- std::unique_ptr<osd_renderer> m_renderer;
-
private:
void draw_video_contents(HDC dc, int update);
int complete_create();
@@ -159,14 +155,6 @@ struct osd_draw_callbacks
void (*exit)(void);
};
-//============================================================
-// GLOBAL VARIABLES
-//============================================================
-
-// windows
-extern std::list<std::shared_ptr<win_window_info>> win_window_list;
-
-
//============================================================
// PROTOTYPES