summaryrefslogtreecommitdiffstats
path: root/Imgui/interface/ImGuiImplLinuxXCB.h
diff options
context:
space:
mode:
authorEgor <egor.yusov@gmail.com>2019-10-02 04:38:53 +0000
committerEgor <egor.yusov@gmail.com>2019-10-02 04:38:53 +0000
commit4adc3cf97a608a16a2e0451a2d44bb05d3a09336 (patch)
tree2a991b278d6d8bea82f557e88f60f0c2cad0e7e6 /Imgui/interface/ImGuiImplLinuxXCB.h
parentImgui Linux impl: implemented xcb event handling (diff)
downloadDiligentTools-4adc3cf97a608a16a2e0451a2d44bb05d3a09336.tar.gz
DiligentTools-4adc3cf97a608a16a2e0451a2d44bb05d3a09336.zip
Imgui Linux XCB impl: implemented time delta handling
Diffstat (limited to 'Imgui/interface/ImGuiImplLinuxXCB.h')
-rw-r--r--Imgui/interface/ImGuiImplLinuxXCB.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Imgui/interface/ImGuiImplLinuxXCB.h b/Imgui/interface/ImGuiImplLinuxXCB.h
index bef1035..62658b4 100644
--- a/Imgui/interface/ImGuiImplLinuxXCB.h
+++ b/Imgui/interface/ImGuiImplLinuxXCB.h
@@ -24,6 +24,7 @@
#pragma once
#include <memory>
+#include <chrono>
#include "ImGuiImplDiligent.h"
@@ -57,6 +58,7 @@ private:
void HandleKeyEvent(xcb_key_release_event_t* event);
_XCBKeySymbols* m_syms = nullptr;
+ std::chrono::time_point<std::chrono::high_resolution_clock> m_LastTimestamp = {};
};
}