From c409caa8873e25699fc10ae435e8d123685f28f3 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 12 Jan 2022 22:36:09 +0800 Subject: ... --- include/cru/win/gui/Window.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/cru/win/gui') diff --git a/include/cru/win/gui/Window.hpp b/include/cru/win/gui/Window.hpp index 5ce3ed25..7a982da7 100644 --- a/include/cru/win/gui/Window.hpp +++ b/include/cru/win/gui/Window.hpp @@ -44,7 +44,6 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow { // Set the rect of the window containing frame. // The lefttop of the rect is relative to screen lefttop. - // TODO: Known limitation: can't calc client rect and save. void SetWindowRect(const Rect& rect) override; bool RequestFocus() override; @@ -149,8 +148,10 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow { //*************** region: native messages *************** + void OnCreateInternal(); void OnDestroyInternal(); void OnPaintInternal(); + void OnMoveInternal(int new_left, int new_top); void OnResizeInternal(int new_width, int new_height); void OnSetFocusInternal(); -- cgit v1.2.3