SPAOP
|
An abstract class extending juce::Component, adding methods to query a "focus point". More...
#include <ComponentWithFocusPoint.h>
Public Member Functions | |
ComponentWithFocusPoint (const String &componentName=String::empty) | |
Constructor. More... | |
virtual | ~ComponentWithFocusPoint () |
Destructor. More... | |
virtual Point< float > | getFocusPoint ()=0 |
Returns the "focus point", the point where this component shall be auto-centered (for example, when it is zoomed into). More... | |
virtual float | getFocusPointX ()=0 |
Returns the x-coordinate of the "focus point". More... | |
virtual float | getFocusPointY ()=0 |
Returns the y-coordinate of the "focus point". More... | |
An abstract class extending juce::Component, adding methods to query a "focus point".
The focus point is the point of the component where a ZoomPort shall zoom to when it zooms in.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns the "focus point", the point where this component shall be auto-centered (for example, when it is zoomed into).
Implemented in wonderjuce::SourcePanel.
|
pure virtual |
Returns the x-coordinate of the "focus point".
Implemented in wonderjuce::SourcePanel.
|
pure virtual |
Returns the y-coordinate of the "focus point".
Implemented in wonderjuce::SourcePanel.