summaryrefslogtreecommitdiff
path: root/src/video/win32_v.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/win32_v.h')
-rw-r--r--src/video/win32_v.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video/win32_v.h b/src/video/win32_v.h
index 72736ec84..85ac153bf 100644
--- a/src/video/win32_v.h
+++ b/src/video/win32_v.h
@@ -40,7 +40,12 @@ public:
protected:
HWND main_wnd; ///< Handle to system window.
bool fullscreen; ///< Whether to use (true) fullscreen mode.
+ bool has_focus = false; ///< Does our window have system focus?
Rect dirty_rect; ///< Region of the screen that needs redrawing.
+ int width = 0; ///< Width in pixels of our display surface.
+ int height = 0; ///< Height in pixels of our display surface.
+ int width_org = 0; ///< Original monitor resolution width, before we changed it.
+ int height_org = 0; ///< Original monitor resolution height, before we changed it.
bool draw_threaded; ///< Whether the drawing is/may be done in a separate thread.
bool buffer_locked; ///< Video buffer was locked by the main thread.