bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #11557] -hitTest: should check frame rotation.


From: anonymous
Subject: [bugs #11557] -hitTest: should check frame rotation.
Date: Mon, 28 Feb 2005 19:15:42 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.6 (KHTML, like Gecko) Safari/125.12

Follow-up Comment #5, bugs #11557 (project gnustep):

> Note that the line from -hitTest: that you quoted tests whether the point
is inside the _super_ view, not the view itself.

But it checks against the view's _frame, not _super_view's bounds.
So you should check only when the view isn't rotated. (the top
view shouldn't be rotated anyway)

the _frame is the origin of the view in _super_view (and size)
but not the view's actualy layout. Just create a simple button and
rotate it by 90 degree. You won't be able to click on it face
since it will never know that the view is completely fall off _frame.


    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11557>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]