1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +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:
Julian Storer 2010-11-21 16:53:03 +00:00
parent 75ff0c5e7e
commit 2c2a11dee9
15 changed files with 533 additions and 242 deletions

View file

@ -590,7 +590,7 @@ void ComboBox::mouseUp (const MouseEvent& e2)
const MouseEvent e (e2.getEventRelativeTo (this));
if (reallyContains (e.x, e.y, true)
if (reallyContains (e.getPosition(), true)
&& (e2.eventComponent == this || ! label->isEditable()))
{
showPopup();