◆ RelativeRectangleComponentPositioner()
juce::RelativeRectangleComponentPositioner::RelativeRectangleComponentPositioner |
( |
Component & |
comp, |
|
|
const RelativeRectangle & |
r |
|
) |
| |
|
inline |
◆ applyNewBounds()
void juce::RelativeRectangleComponentPositioner::applyNewBounds |
( |
const Rectangle< int > & |
newBounds | ) |
|
|
inlineoverridevirtual |
Attempts to set the component's position to the given rectangle. Unlike simply calling Component::setBounds(), this may involve the positioner being smart enough to adjust itself to fit the new bounds, e.g. a RelativeRectangle's positioner may try to reverse the expressions used to make them fit these new coordinates.
Implements juce::Component::Positioner.
◆ applyToComponentBounds()
void juce::RelativeRectangleComponentPositioner::applyToComponentBounds |
( |
| ) |
|
|
inlineoverridevirtual |
◆ isUsingRectangle()
bool juce::RelativeRectangleComponentPositioner::isUsingRectangle |
( |
const RelativeRectangle & |
other | ) |
const |
|
inlinenoexcept |
◆ registerCoordinates()
bool juce::RelativeRectangleComponentPositioner::registerCoordinates |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: