Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
UndoManager Struct Reference

Undo manager. More...

#include <actions/undo_manager.h>

Collaboration diagram for UndoManager:

Data Fields

int schema_version
 
UndoStackundo_stack
 
UndoStackredo_stack
 
bool redo_stack_locked
 Whether the redo stack is currently locked.
 
ZixSem action_sem
 Semaphore for performing actions.
 

Detailed Description

Undo manager.

Definition at line 32 of file undo_manager.h.

Field Documentation

◆ action_sem

ZixSem UndoManager::action_sem

Semaphore for performing actions.

Definition at line 48 of file undo_manager.h.

◆ redo_stack

UndoStack* UndoManager::redo_stack

Definition at line 37 of file undo_manager.h.

◆ redo_stack_locked

bool UndoManager::redo_stack_locked

Whether the redo stack is currently locked.

This is used as a hack when cancelling arranger drags.

Definition at line 45 of file undo_manager.h.

◆ schema_version

int UndoManager::schema_version

Definition at line 34 of file undo_manager.h.

◆ undo_stack

UndoStack* UndoManager::undo_stack

Definition at line 36 of file undo_manager.h.


The documentation for this struct was generated from the following file: