A group of linked regions.
More...
#include <src/structure/arrangement/region_link_group.h>
|
| | RegionLinkGroup (int idx) |
|
void | add_region (Region ®ion) |
| void | remove_region (Region ®ion, bool autoremove_last_region_and_group, bool update_identifier) |
| | Remove the region from the link group.
|
|
bool | contains_region (const Region ®ion) const |
| void | update (const Region ®ion) |
| | Updates all other regions in the link group.
|
|
| void | to_json (nlohmann::json &j, const RegionLinkGroup &group) |
| void | from_json (const nlohmann::json &j, RegionLinkGroup &group) |
A group of linked regions.
Definition at line 16 of file region_link_group.h.
◆ RegionLinkGroup()
| zrythm::structure::arrangement::RegionLinkGroup::RegionLinkGroup |
( |
int | idx | ) |
|
|
inline |
◆ remove_region()
| void zrythm::structure::arrangement::RegionLinkGroup::remove_region |
( |
Region & | region, |
|
|
bool | autoremove_last_region_and_group, |
|
|
bool | update_identifier ) |
Remove the region from the link group.
- Parameters
-
| autoremove_last_region_and_group | Automatically remove the last region left in the group, and the group itself when empty. |
◆ update()
| void zrythm::structure::arrangement::RegionLinkGroup::update |
( |
const Region & | region | ) |
|
Updates all other regions in the link group.
- Parameters
-
| region | The region where the change happened. |
◆ from_json
| void from_json |
( |
const nlohmann::json & | j, |
|
|
RegionLinkGroup & | group ) |
|
friend |
◆ to_json
| void to_json |
( |
nlohmann::json & | j, |
|
|
const RegionLinkGroup & | group ) |
|
friend |
◆ group_idx_
| int zrythm::structure::arrangement::RegionLinkGroup::group_idx_ |
◆ ids_
The documentation for this class was generated from the following file: