From a8f9fac512cf3e4884cee3b7f655429ece89a025 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 19 Nov 2018 17:27:39 +0800 Subject: Rename two methods in Control. --- src/ui/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/window.cpp') diff --git a/src/ui/window.cpp b/src/ui/window.cpp index 39b574bd..87656cdc 100644 --- a/src/ui/window.cpp +++ b/src/ui/window.cpp @@ -206,7 +206,7 @@ namespace cru::ui DestroyWindow(hwnd_); } - void Window::Repaint() { + void Window::InvalidateDraw() { if (IsWindowValid()) { InvalidateRect(hwnd_, nullptr, false); } @@ -601,7 +601,7 @@ namespace cru::ui if (debug_layout_ != value) { debug_layout_ = value; - Repaint(); + InvalidateDraw(); } } #endif -- cgit v1.2.3