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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h
index 7d82888bc47..3e9838ba396 100644
--- a/src/osd/windows/window.h
+++ b/src/osd/windows/window.h
@@ -42,6 +42,14 @@
// TYPE DEFINITIONS
//============================================================
+enum class win_window_focus
+{
+ NONE, // neither this window nor this thread have focus
+ THREAD, // a window in this thread has focus
+ WINDOW // this window has focus directly
+};
+
+
class win_window_info : public osd_window_t<HWND>
{
public:
@@ -51,6 +59,8 @@ public:
virtual render_target *target() override { return m_target; }
int fullscreen() const override { return m_fullscreen; }
+ bool attached_mode() const { return m_attached_mode; }
+ win_window_focus focus() const;
void update() override;
@@ -144,6 +154,7 @@ private:
#endif
running_machine & m_machine;
+ bool m_attached_mode;
};
struct osd_draw_callbacks