Command to move one or more plugins between PluginGroups.
More...
#include <src/commands/move_plugins_command.h>
|
| | MovePluginsCommand (std::vector< PluginMoveInfo > plugin_infos, PluginLocation target_location, std::optional< int > target_start_index=std::nullopt) |
| | Constructs a command to move plugins to a target location.
|
|
void | undo () override |
|
void | redo () override |
| int | id () const override |
Command to move one or more plugins between PluginGroups.
Supports moving multiple plugins at once (e.g., when multiple plugins are selected and dragged together).
Definition at line 22 of file move_plugins_command.h.
◆ PluginLocation
| using zrythm::commands::MovePluginsCommand::PluginLocation |
Initial value:
std::pair<plugins::PluginGroup *, structure::tracks::AutomationTracklist *>
Definition at line 27 of file move_plugins_command.h.
◆ MovePluginsCommand()
| zrythm::commands::MovePluginsCommand::MovePluginsCommand |
( |
std::vector< PluginMoveInfo > | plugin_infos, |
|
|
PluginLocation | target_location, |
|
|
std::optional< int > | target_start_index = std::nullopt ) |
Constructs a command to move plugins to a target location.
- Parameters
-
| plugin_infos | Plugins to move with their source locations. |
| target_location | Target PluginGroup and automation tracklist. |
| target_start_index | Position to insert at in the target group. std::nullopt means append to the end. |
◆ id()
| int zrythm::commands::MovePluginsCommand::id |
( |
| ) |
const |
|
inlineoverride |
◆ CommandId
| int zrythm::commands::MovePluginsCommand::CommandId = 1763227783 |
|
staticconstexpr |
The documentation for this class was generated from the following file: