diff options
author | crupest <crupest@outlook.com> | 2019-04-01 15:51:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-01 15:51:56 +0800 |
commit | 9e382d2175c6706e69b734480e26032e16d0bde4 (patch) | |
tree | 2702ea4dedabd5fad4be7b0f5eea1af7b7bda121 /include/cru/platform/native_window.hpp | |
parent | 3e89aa733587043645f5fda72596e4ff3cd21d2a (diff) | |
download | cru-9e382d2175c6706e69b734480e26032e16d0bde4.tar.gz cru-9e382d2175c6706e69b734480e26032e16d0bde4.tar.bz2 cru-9e382d2175c6706e69b734480e26032e16d0bde4.zip |
...
Diffstat (limited to 'include/cru/platform/native_window.hpp')
-rw-r--r-- | include/cru/platform/native_window.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/platform/native_window.hpp b/include/cru/platform/native_window.hpp index 3a8e27ad..2daf4870 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* BeginDraw() = 0; + virtual Painter* BeginPaint() = 0; virtual Event<>* DestroyEvent() = 0; virtual Event<ui::Size>* ResizeEvent() = 0; |