mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-23 01:44:22 +00:00
Added display rotation support for iOS - see the Desktop class for implementation methods. Also fixed a couple of minor build issues.
This commit is contained in:
parent
c583b68cd6
commit
4bc85a9dc3
22 changed files with 776 additions and 283 deletions
|
|
@ -43,11 +43,13 @@ CallOutBox::CallOutBox (Component& contentComponent,
|
|||
|
||||
if (parentComponent != 0)
|
||||
{
|
||||
updatePosition (parentComponent->getLocalBounds(),
|
||||
componentToPointTo.getLocalBounds()
|
||||
+ componentToPointTo.relativePositionToOtherComponent (parentComponent, Point<int>()));
|
||||
parentComponent->addChildComponent (this);
|
||||
|
||||
parentComponent->addAndMakeVisible (this);
|
||||
updatePosition (componentToPointTo.getLocalBounds()
|
||||
+ componentToPointTo.relativePositionToOtherComponent (parentComponent, Point<int>()),
|
||||
parentComponent->getLocalBounds());
|
||||
|
||||
setVisible (true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue