|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Serializable UI state for a project. More...
#include <src/structure/project/project_ui_state.h>


Public Member Functions | |
| ProjectUiState (Project &project, utils::AppSettings &app_settings) | |
| Constructs ProjectUiState with references from the given Project. | |
| structure::project::ArrangerTool * | tool () const |
| structure::project::ClipEditor * | clipEditor () const |
| structure::arrangement::Timeline * | timeline () const |
| dsp::SnapGrid * | snapGridTimeline () const |
| dsp::SnapGrid * | snapGridEditor () const |
Friends | |
| void | to_json (nlohmann::json &j, const ProjectUiState &p) |
| void | from_json (const nlohmann::json &j, ProjectUiState &p) |
Serializable UI state for a project.
Contains UI-related state that should be persisted between sessions:
This class does NOT own the Project; it receives a reference to access necessary components (tempo map, registries) during construction.
Definition at line 33 of file project_ui_state.h.
| zrythm::structure::project::ProjectUiState::ProjectUiState | ( | Project & | project, |
| utils::AppSettings & | app_settings ) |
Constructs ProjectUiState with references from the given Project.
| project | The Project to extract tempo map and registries from. |
| app_settings | Application settings for snap grid defaults. |
|
read |
Definition at line 38 of file project_ui_state.h.
|
read |
Definition at line 40 of file project_ui_state.h.
|
read |
Definition at line 39 of file project_ui_state.h.
|
read |
Definition at line 36 of file project_ui_state.h.
|
read |
Definition at line 37 of file project_ui_state.h.