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:
parent
e4801068ad
commit
06c63c63aa
45 changed files with 1257 additions and 1590 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue