◆ ModalItem()
| juce::ModalComponentManager::ModalItem::ModalItem |
( |
Component * | comp, |
|
|
bool | shouldAutoDelete ) |
|
inline |
◆ ~ModalItem()
| juce::ModalComponentManager::ModalItem::~ModalItem |
( |
| ) |
|
|
inlineoverride |
◆ cancel()
| void juce::ModalComponentManager::ModalItem::cancel |
( |
| ) |
|
|
inline |
◆ componentBeingDeleted()
| void juce::ModalComponentManager::ModalItem::componentBeingDeleted |
( |
Component & | component | ) |
|
|
inlineoverridevirtual |
Called when the component is in the process of being deleted.
This callback is made from inside the destructor, so be very, very cautious about what you do in here.
In particular, bear in mind that it's the Component base class's destructor that calls this - so if the object that's being deleted is a subclass of Component, then the subclass layers of the object will already have been destructed when it gets to this point!
- Parameters
-
| component | the component that was deleted |
Reimplemented from juce::ComponentMovementWatcher.
◆ componentMovedOrResized() [1/2]
| void juce::ModalComponentManager::ModalItem::componentMovedOrResized |
( |
bool | wasMoved, |
|
|
bool | wasResized ) |
|
inlineoverridevirtual |
This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized.
Implements juce::ComponentMovementWatcher.
◆ componentMovedOrResized() [2/2]
| void juce::ComponentMovementWatcher::componentMovedOrResized |
( |
Component & | component, |
|
|
bool | wasMoved, |
|
|
bool | wasResized ) |
|
overridevirtual |
Called when the component's position or size changes.
- Parameters
-
| component | the component that was moved or resized |
| wasMoved | true if the component's top-left corner has just moved |
| wasResized | true if the component's width or height has just changed |
- See also
- Component::setBounds, Component::resized, Component::moved
Reimplemented from juce::ComponentMovementWatcher.
◆ componentPeerChanged()
| void juce::ModalComponentManager::ModalItem::componentPeerChanged |
( |
| ) |
|
|
inlineoverridevirtual |
◆ componentVisibilityChanged() [1/2]
| void juce::ModalComponentManager::ModalItem::componentVisibilityChanged |
( |
| ) |
|
|
inlineoverridevirtual |
This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible.
Implements juce::ComponentMovementWatcher.
◆ componentVisibilityChanged() [2/2]
| void juce::ComponentMovementWatcher::componentVisibilityChanged |
( |
Component & | component | ) |
|
|
overridevirtual |
Called when the component is made visible or invisible.
- Parameters
-
| component | the component that changed |
- See also
- Component::setVisible
Reimplemented from juce::ComponentMovementWatcher.
◆ autoDelete
| bool juce::ModalComponentManager::ModalItem::autoDelete |
◆ callbacks
◆ component
| Component* juce::ModalComponentManager::ModalItem::component |
◆ isActive
| bool juce::ModalComponentManager::ModalItem::isActive = true |
◆ returnValue
| int juce::ModalComponentManager::ModalItem::returnValue = 0 |
The documentation for this struct was generated from the following file: