From 26813b4c72ab6222861859848952d68586f1e283 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 23 Sep 2018 20:29:45 +0800 Subject: Add GetCaretBlinkDuration. --- CruUI/application.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CruUI/application.h') diff --git a/CruUI/application.h b/CruUI/application.h index 1ce6f035..521c3436 100644 --- a/CruUI/application.h +++ b/CruUI/application.h @@ -101,6 +101,11 @@ namespace cru return god_window_.get(); } + std::chrono::milliseconds GetCaretBlinkDuration() const + { + return caret_blink_duration_; + } + #ifdef CRU_DEBUG_DRAW_CONTROL_BORDER Microsoft::WRL::ComPtr GetDebugBorderBrush() const { @@ -121,6 +126,8 @@ namespace cru #ifdef CRU_DEBUG_DRAW_CONTROL_BORDER Microsoft::WRL::ComPtr debug_border_brush_; #endif + + std::chrono::milliseconds caret_blink_duration_; }; -- cgit v1.2.3