|
| | ExpandableTickRange (std::optional< std::pair< double, double > > range=std::nullopt) |
| bool | is_full_content () const |
| | Returns whether the range is the full content (ie, there is no range).
|
| void | expand (std::pair< double, double > range_to_add) |
| | Expands to the given range.
|
| void | expand_to_full () |
| void | expand (const ExpandableTickRange &range_to_add) |
| auto | range () const -> std::optional< std::pair< double, double > > |
| | Returns the range, or nullopt if the full content is covered.
|
Definition at line 13 of file expandable_tick_range.h.
◆ ExpandableTickRange()
| zrythm::utils::ExpandableTickRange::ExpandableTickRange |
( |
std::optional< std::pair< double, double > > | range = std::nullopt | ) |
|
|
inline |
◆ expand() [1/2]
| void zrythm::utils::ExpandableTickRange::expand |
( |
const ExpandableTickRange & | range_to_add | ) |
|
|
inline |
◆ expand() [2/2]
| void zrythm::utils::ExpandableTickRange::expand |
( |
std::pair< double, double > | range_to_add | ) |
|
|
inline |
◆ expand_to_full()
| void zrythm::utils::ExpandableTickRange::expand_to_full |
( |
| ) |
|
|
inline |
◆ is_full_content()
| bool zrythm::utils::ExpandableTickRange::is_full_content |
( |
| ) |
const |
|
inline |
Returns whether the range is the full content (ie, there is no range).
Definition at line 32 of file expandable_tick_range.h.
◆ range()
| auto zrythm::utils::ExpandableTickRange::range |
( |
| ) |
const->std::optional< std::pair< double, double > > |
|
inline |
The documentation for this class was generated from the following file: