diff options
author | crupest <crupest@outlook.com> | 2018-11-06 19:26:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-06 19:26:59 +0800 |
commit | 0152bebd76399b7f32260533c93b3e0dc20becf1 (patch) | |
tree | 8b2c433ade5cb0120160021ca8eaf3d9fb7ff5ce /src/ui/control.h | |
parent | 1c5b696b487f621aebaafddf25a010c4cdbbd666 (diff) | |
download | cru-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.h | 4 |
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); |