55 bool isEmpty()
const {
return owner ==
nullptr; }
58 void onVBlank()
override;
61 void componentParentHierarchyChanged (
Component&)
override;
Gets informed about changes to a component's hierarchy or position.
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.
Helper class to synchronise Component updates to the vertical blank event of the display that the Com...
VBlankAttachment()=default
Default constructor for creating an empty object.
bool isEmpty() const
Returns true for a default constructed object.
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 on every vertical blank event of the display that the peer currently belong...