aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/native_window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-01 15:28:07 +0800
committercrupest <crupest@outlook.com>2019-04-01 15:28:07 +0800
commit3e89aa733587043645f5fda72596e4ff3cd21d2a (patch)
tree7daadddf1073f537bb580a0cdf77208cf26e6271 /include/cru/platform/native_window.hpp
parent8ca0873597eb05a2f120d3ea107660abcff4533c (diff)
downloadcru-3e89aa733587043645f5fda72596e4ff3cd21d2a.tar.gz
cru-3e89aa733587043645f5fda72596e4ff3cd21d2a.tar.bz2
cru-3e89aa733587043645f5fda72596e4ff3cd21d2a.zip
...
Diffstat (limited to 'include/cru/platform/native_window.hpp')
-rw-r--r--include/cru/platform/native_window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/platform/native_window.hpp b/include/cru/platform/native_window.hpp
index 5e8897ab..3a8e27ad 100644
--- a/include/cru/platform/native_window.hpp
+++ b/include/cru/platform/native_window.hpp
@@ -32,7 +32,7 @@ struct NativeWindow : public virtual Interface {
// The lefttop of the rect is relative to screen lefttop.
virtual void SetWindowRect(const ui::Rect& rect) = 0;
- virtual Painter* GetPainter() = 0;
+ virtual Painter* BeginDraw() = 0;
virtual Event<>* DestroyEvent() = 0;
virtual Event<ui::Size>* ResizeEvent() = 0;