aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-06 19:26:59 +0800
committercrupest <crupest@outlook.com>2018-11-06 19:26:59 +0800
commit0152bebd76399b7f32260533c93b3e0dc20becf1 (patch)
tree8b2c433ade5cb0120160021ca8eaf3d9fb7ff5ce /src/ui/control.h
parent1c5b696b487f621aebaafddf25a010c4cdbbd666 (diff)
downloadcru-0152bebd76399b7f32260533c93b3e0dc20becf1.tar.gz
cru-0152bebd76399b7f32260533c93b3e0dc20becf1.tar.bz2
cru-0152bebd76399b7f32260533c93b3e0dc20becf1.zip
Rename two methods in control.
Diffstat (limited to 'src/ui/control.h')
-rw-r--r--src/ui/control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/control.h b/src/ui/control.h
index 2a608374..9ee657f7 100644
--- a/src/ui/control.h
+++ b/src/ui/control.h
@@ -115,10 +115,10 @@ namespace cru
Point GetPositionAbsolute() const;
//Local point to absolute point.
- Point LocalToAbsolute(const Point& point) const;
+ Point ControlToWindow(const Point& point) const;
//Absolute point to local point.
- Point AbsoluteToLocal(const Point& point) const;
+ Point WindowToControl(const Point& point) const;
virtual bool IsPointInside(const Point& point);