54 void componentPeerChanged()
override;
57 void componentVisibilityChanged()
override {}
60 void componentMovedOrResized (
bool,
bool)
override {}
An object that watches for any movement of a component or any of its parent components.
virtual void componentMovedOrResized(bool wasMoved, bool wasResized)=0
This callback happens when the component that is being watched is moved relative to its top-level pee...
virtual void componentVisibilityChanged()=0
This callback happens when the component's visibility state changes, possibly due to one of its paren...
The Component class uses a ComponentPeer internally to create and manage a real operating-system wind...
The base class for all JUCE user-interface objects.
Calls a function every time the native scale factor of a component's peer changes.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
Used to receive callbacks when the OS scale factor of this ComponentPeer changes.