diff options
| author | Egor <egor.yusov@gmail.com> | 2019-10-02 04:38:53 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2019-10-02 04:38:53 +0000 |
| commit | 4adc3cf97a608a16a2e0451a2d44bb05d3a09336 (patch) | |
| tree | 2a991b278d6d8bea82f557e88f60f0c2cad0e7e6 /Imgui/interface/ImGuiImplLinuxXCB.h | |
| parent | Imgui Linux impl: implemented xcb event handling (diff) | |
| download | DiligentTools-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.h | 2 |
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 = {}; }; } |
