diff options
Diffstat (limited to 'src/osd/modules/osdwindow.h')
-rw-r--r-- | src/osd/modules/osdwindow.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/osd/modules/osdwindow.h b/src/osd/modules/osdwindow.h index c9f311c6ebf..054286d84b5 100644 --- a/src/osd/modules/osdwindow.h +++ b/src/osd/modules/osdwindow.h @@ -125,8 +125,6 @@ public: m_main(nullptr) {} - virtual ~osd_window(); - virtual render_target *target() = 0; virtual int fullscreen() const = 0; virtual running_machine &machine() const = 0; @@ -175,6 +173,9 @@ public: virtual void show_pointer() = 0; virtual void hide_pointer() = 0; + virtual void update() = 0; + virtual void destroy() = 0; + void renderer_reset() { m_renderer.reset(); } #ifndef OSD_SDL virtual bool win_has_menu() = 0; @@ -340,4 +341,6 @@ struct osd_video_config extern osd_video_config video_config; +extern std::list<std::shared_ptr<osd_window>> window_list; + #endif /* __OSDWINDOW__ */ |