aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/win/win_native_window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-01 15:51:56 +0800
committercrupest <crupest@outlook.com>2019-04-01 15:51:56 +0800
commit9e382d2175c6706e69b734480e26032e16d0bde4 (patch)
tree2702ea4dedabd5fad4be7b0f5eea1af7b7bda121 /include/cru/platform/win/win_native_window.hpp
parent3e89aa733587043645f5fda72596e4ff3cd21d2a (diff)
downloadcru-9e382d2175c6706e69b734480e26032e16d0bde4.tar.gz
cru-9e382d2175c6706e69b734480e26032e16d0bde4.tar.bz2
cru-9e382d2175c6706e69b734480e26032e16d0bde4.zip
...
Diffstat (limited to 'include/cru/platform/win/win_native_window.hpp')
-rw-r--r--include/cru/platform/win/win_native_window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/platform/win/win_native_window.hpp b/include/cru/platform/win/win_native_window.hpp
index 8b787485..ae19c9f3 100644
--- a/include/cru/platform/win/win_native_window.hpp
+++ b/include/cru/platform/win/win_native_window.hpp
@@ -44,6 +44,8 @@ class WinNativeWindow : public Object, public virtual NativeWindow {
// The lefttop of the rect is relative to screen lefttop.
void SetWindowRect(const ui::Rect& rect) override;
+ Painter* BeginPaint() override;
+
Event<>* DestroyEvent() override { return &destroy_event_; }
Event<ui::Size>* ResizeEvent() override { return &resize_event_; }
Event<>* PaintEvent() override { return &paint_event_; }