summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/window.h
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-04-15 22:55:01 -0400
committer Brad Hughes <bradhugh@outlook.com>2016-04-15 22:55:01 -0400
commitf7c9b7095ed81bed92dd80e7b5c31fb2849e6b3c (patch)
tree88032850f1c33fd7776428e4da70afde40945c5e /src/osd/windows/window.h
parent6d27bfb25d6ea023ecd3c12ec15d58f06ab1e29c (diff)
Use std::chrono instead of GetTickCount in window.cpp/h for Windows OSD
Diffstat (limited to 'src/osd/windows/window.h')
-rw-r--r--src/osd/windows/window.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h
index b42903b9dff..8ca2d832b47 100644
--- a/src/osd/windows/window.h
+++ b/src/osd/windows/window.h
@@ -15,6 +15,7 @@
#include <windowsx.h>
#include <mmsystem.h>
+#include <chrono>
#include <mutex>
#include "video.h"
#include "render.h"
@@ -114,9 +115,9 @@ public:
render_layer_config m_targetlayerconfig;
// input info
- DWORD m_lastclicktime;
- int m_lastclickx;
- int m_lastclicky;
+ std::chrono::system_clock::time_point m_lastclicktime;
+ int m_lastclickx;
+ int m_lastclicky;
// drawing data
osd_renderer * m_renderer;