#pragma once #include "chart.hpp" #include "history.hpp" #include "history_actions.hpp" #include "notes_clipboard.hpp" #include "time_selection.hpp" #include "widgets/density_graph.hpp" #include struct Chart_with_History { explicit Chart_with_History(Chart& c, std::filesystem::path assets); Chart& ref; std::set selectedNotes; NotesClipboard notesClipboard; SelectionState timeSelection; std::optional> longNoteBeingCreated; bool creatingLongNote; History> history; DensityGraph densityGraph; std::optional makeLongNoteDummy(int current_tick) const; std::optional makeCurrentLongNote() const; };