smarthaert / phoenixlib

Automatically exported from code.google.com/p/phoenixlib
0 stars 0 forks source link

TPHXGuiEngine - Polygon Collision #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Strange... I think we had already changed this before... but, please change...

Function TPHXContainer.ComponentAt(X, Y: Integer): TPHXControl;
If PointInRect(X, Y, Current.ClientRect) then
to
      If ((Current.PointInControl(X, Y)) or (PointInRect(X, Y, Current.ClientRect))) then

and

function TPHXGuiEngine.ComponentAt(X, Y: Integer): TPHXControl;
if Current.Visible and PointInRect(X, Y, Current.ClientRect) then
to
   if Current.Visible and (Current.PointInControl(X, Y) or PointInRect(X, Y, Current.ClientRect)) then

Original issue reported on code.google.com by wagenhei...@gmail.com on 24 Dec 2010 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 8 Aug 2013 at 2:11