1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00

Changed some methods that were using (x, y) parameters to use Point objects instead.

This commit is contained in:
Julian Storer 2010-02-16 18:31:44 +00:00
parent e4801068ad
commit 06c63c63aa
45 changed files with 1257 additions and 1590 deletions

View file

@ -797,10 +797,7 @@ void TableHeaderComponent::mouseUp (const MouseEvent& e)
const MouseCursor TableHeaderComponent::getMouseCursor()
{
int x, y;
getMouseXYRelative (x, y);
if (columnIdBeingResized != 0 || (getResizeDraggerAt (x) != 0 && ! isMouseButtonDown()))
if (columnIdBeingResized != 0 || (getResizeDraggerAt (getMouseXYRelative().getX()) != 0 && ! isMouseButtonDown()))
return MouseCursor (MouseCursor::LeftRightResizeCursor);
return Component::getMouseCursor();