openshot-audio  0.1.2
Public Member Functions | List of all members
juce::Drawable::Positioner< DrawableType > Class Template Reference

#include <juce_gui_basics.h>

Inheritance diagram for juce::Drawable::Positioner< DrawableType >:
juce::RelativeCoordinatePositionerBase juce::Component::Positioner juce::ComponentListener juce::MarkerList::Listener

Public Member Functions

 Positioner (DrawableType &c)
 
bool registerCoordinates () override
 
void applyToComponentBounds () override
 
void applyNewBounds (const Rectangle< int > &) override
 
- Public Member Functions inherited from juce::RelativeCoordinatePositionerBase
 RelativeCoordinatePositionerBase (Component &component)
 
 ~RelativeCoordinatePositionerBase ()
 
void componentMovedOrResized (Component &, bool, bool)
 
void componentParentHierarchyChanged (Component &)
 
void componentChildrenChanged (Component &component)
 
void componentBeingDeleted (Component &component)
 
void markersChanged (MarkerList *)
 
void markerListBeingDeleted (MarkerList *markerList)
 
void apply ()
 
bool addCoordinate (const RelativeCoordinate &coord)
 
bool addPoint (const RelativePoint &point)
 
- Public Member Functions inherited from juce::Component::Positioner
 Positioner (Component &component) noexcept
 
virtual ~Positioner ()
 
ComponentgetComponent () const noexcept
 
- Public Member Functions inherited from juce::ComponentListener
virtual ~ComponentListener ()
 
virtual void componentBroughtToFront (Component &component)
 
virtual void componentVisibilityChanged (Component &component)
 
virtual void componentNameChanged (Component &component)
 
- Public Member Functions inherited from juce::MarkerList::Listener
virtual ~Listener ()
 

Additional Inherited Members

Detailed Description

template<class DrawableType>
class juce::Drawable::Positioner< DrawableType >

Internal utility class used by Drawables.

Constructor & Destructor Documentation

◆ Positioner()

template<class DrawableType >
juce::Drawable::Positioner< DrawableType >::Positioner ( DrawableType &  c)
inline

Member Function Documentation

◆ applyNewBounds()

template<class DrawableType >
void juce::Drawable::Positioner< DrawableType >::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()

template<class DrawableType >
void juce::Drawable::Positioner< DrawableType >::applyToComponentBounds ( )
inlineoverridevirtual

◆ registerCoordinates()

template<class DrawableType >
bool juce::Drawable::Positioner< DrawableType >::registerCoordinates ( )
inlineoverridevirtual

The documentation for this class was generated from the following file: