|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Represents a marker in a MarkerList. More...
#include "juce_MarkerList.h"
Public Member Functions | |
| Marker (const Marker &) | |
| Creates a copy of another Marker. | |
| Marker (const String &name, const RelativeCoordinate &position) | |
| Creates a Marker with a given name and position. | |
| bool | operator== (const Marker &) const noexcept |
| Returns true if both the names and positions of these two markers match. | |
| bool | operator!= (const Marker &) const noexcept |
| Returns true if either the name or position of these two markers differ. | |
Public Attributes | |
| String | name |
| The marker's name. | |
| RelativeCoordinate | position |
| The marker's position. | |
Represents a marker in a MarkerList.
Definition at line 53 of file juce_MarkerList.h.
Creates a copy of another Marker.
Definition at line 168 of file juce_MarkerList.cpp.
| juce::MarkerList::Marker::Marker | ( | const String & | name, |
| const RelativeCoordinate & | position | ||
| ) |
Creates a Marker with a given name and position.
Definition at line 173 of file juce_MarkerList.cpp.
Returns true if either the name or position of these two markers differ.
Definition at line 183 of file juce_MarkerList.cpp.
Returns true if both the names and positions of these two markers match.
Definition at line 178 of file juce_MarkerList.cpp.
| String juce::MarkerList::Marker::name |
The marker's name.
Definition at line 62 of file juce_MarkerList.h.
| RelativeCoordinate juce::MarkerList::Marker::position |
The marker's position.
The expression used to define the coordinate may use the names of other markers, so that markers can be linked in arbitrary ways, but be careful not to create recursive loops of markers whose positions are based on each other! It can also refer to "parent.right" and "parent.bottom" so that you can set markers which are relative to the size of the component that contains them.
To resolve the coordinate, you can use the MarkerList::getMarkerPosition() method.
Definition at line 75 of file juce_MarkerList.h.