mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Added the ability to apply affine transforms to components - Component::setTransform(). Added a slider to the widgets demo to show this in action. Changed Component::reallyContains() to take a rectangle instead of raw coordinates.
This commit is contained in:
parent
75ff0c5e7e
commit
2c2a11dee9
15 changed files with 533 additions and 242 deletions
|
|
@ -909,7 +909,7 @@ int TableHeaderComponent::getResizeDraggerAt (const int mouseX) const
|
|||
|
||||
void TableHeaderComponent::updateColumnUnderMouse (int x, int y)
|
||||
{
|
||||
const int newCol = (reallyContains (x, y, true) && getResizeDraggerAt (x) == 0)
|
||||
const int newCol = (reallyContains (Point<int> (x, y), true) && getResizeDraggerAt (x) == 0)
|
||||
? getColumnIdAtX (x) : 0;
|
||||
|
||||
if (newCol != columnIdUnderMouse)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue