aboutsummaryrefslogtreecommitdiff
path: root/src/ui/window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-12-06 21:09:12 +0800
committercrupest <crupest@outlook.com>2018-12-06 21:09:12 +0800
commit03ef76f769a55b694905898c16a176fc6bd4b0d7 (patch)
tree41e11ed127f9a35f543473c39109487785383daa /src/ui/window.hpp
parent81fd0725d020e9f302c0d40fd5a5700d3dc871aa (diff)
downloadcru-03ef76f769a55b694905898c16a176fc6bd4b0d7.tar.gz
cru-03ef76f769a55b694905898c16a176fc6bd4b0d7.tar.bz2
cru-03ef76f769a55b694905898c16a176fc6bd4b0d7.zip
Fix position cache bug.
Diffstat (limited to 'src/ui/window.hpp')
-rw-r--r--src/ui/window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.hpp b/src/ui/window.hpp
index e4c910e8..e96d4d92 100644
--- a/src/ui/window.hpp
+++ b/src/ui/window.hpp
@@ -189,7 +189,7 @@ namespace cru::ui
//*************** region: position and size ***************
//Always return (0, 0) for a window.
- Point GetPositionRelative() override final;
+ Point GetOffset() override final;
//Get the size of client area for a window.
Size GetSize() override final;