* there was a complete mixup of "drawing origin" and "scrolling offset" in the
BView implementation (client side) * introduced some private methods for _Convert*(BPoint*) methods which avoid doing the check_lock() thing in the recursion, also Origin() would likely have communicated with the app_server all the time, since the origin bit was needlessly invalidated, so some speedup should be achieved * this should fix ticket #98 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21900 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -599,6 +599,13 @@ private:
|
||||
void _ResizeBy(int32 deltaWidth, int32 deltaHeight);
|
||||
void _ParentResizedBy(int32 x, int32 y);
|
||||
|
||||
void _ConvertToScreen(BPoint* pt, bool checkLock) const;
|
||||
void _ConvertFromScreen(BPoint* pt, bool checkLock) const;
|
||||
|
||||
void _ConvertToParent(BPoint* pt, bool checkLock) const;
|
||||
void _ConvertFromParent(BPoint* pt, bool checkLock) const;
|
||||
|
||||
|
||||
void _Activate(bool state);
|
||||
void _Attach();
|
||||
void _Detach();
|
||||
|
||||
Reference in New Issue
Block a user