A class for editing music data in a Rom. More...
#include <music_editor.h>
Public Member Functions | |
MusicEditor () | |
absl::Status | Update () override |
absl::Status | Undo () override |
absl::Status | Redo () override |
absl::Status | Cut () override |
absl::Status | Copy () override |
absl::Status | Paste () override |
absl::Status | Find () override |
Public Member Functions inherited from yaze::app::SharedRom | |
SharedRom ()=default | |
virtual | ~SharedRom ()=default |
std::shared_ptr< Rom > | shared_rom () |
auto | rom () |
Public Member Functions inherited from yaze::app::editor::Editor | |
Editor ()=default | |
virtual | ~Editor ()=default |
EditorType | type () const |
Private Member Functions | |
void | DrawChannels () |
void | DrawPianoStaff () |
void | DrawPianoRoll () |
void | DrawSongToolset () |
void | DrawToolset () |
Private Attributes | |
zelda3::music::Tracker | music_tracker_ |
AssemblyEditor | assembly_editor_ |
ImGuiTableFlags | toolset_table_flags_ = ImGuiTableFlags_SizingFixedFit |
ImGuiTableFlags | music_editor_flags_ |
Additional Inherited Members | |
Static Public Attributes inherited from yaze::app::SharedRom | |
static std::shared_ptr< Rom > | shared_rom_ = nullptr |
Protected Attributes inherited from yaze::app::editor::Editor | |
EditorType | type_ |
EditorContext | context_ |
A class for editing music data in a Rom.
Definition at line 58 of file music_editor.h.
|
inline |
Definition at line 60 of file music_editor.h.
References yaze::app::editor::kMusic, and yaze::app::editor::Editor::type_.
|
overridevirtual |
Implements yaze::app::editor::Editor.
Definition at line 15 of file music_editor.cc.
References assembly_editor_, DrawChannels(), DrawPianoRoll(), DrawToolset(), yaze::app::editor::AssemblyEditor::InlineUpdate(), and music_editor_flags_.
Referenced by yaze::app::editor::EditorManager::ManageActiveEditors().
|
inlineoverridevirtual |
Implements yaze::app::editor::Editor.
Definition at line 64 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::app::editor::Editor.
Definition at line 65 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::app::editor::Editor.
Definition at line 66 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::app::editor::Editor.
Definition at line 67 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::app::editor::Editor.
Definition at line 68 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::app::editor::Editor.
Definition at line 69 of file music_editor.h.
|
private |
Definition at line 37 of file music_editor.cc.
References DrawPianoStaff().
Referenced by Update().
|
private |
Definition at line 52 of file music_editor.cc.
Referenced by DrawChannels().
|
private |
Definition at line 90 of file music_editor.cc.
Referenced by Update().
|
private |
Definition at line 154 of file music_editor.cc.
References toolset_table_flags_.
|
private |
Definition at line 166 of file music_editor.cc.
References BUTTON_COLUMN, ICON_MD_ACCESS_TIME, ICON_MD_FAST_FORWARD, ICON_MD_FAST_REWIND, ICON_MD_PLAY_ARROW, ICON_MD_STOP, ICON_MD_VOLUME_UP, yaze::app::gui::ItemLabel(), yaze::app::zelda3::music::Tracker::LoadSongs(), music_tracker_, yaze::app::SharedRom::rom(), and toolset_table_flags_.
Referenced by Update().
|
private |
Definition at line 78 of file music_editor.h.
Referenced by DrawToolset().
|
private |
Definition at line 80 of file music_editor.h.
Referenced by Update().
|
private |
Definition at line 81 of file music_editor.h.
Referenced by DrawSongToolset(), and DrawToolset().
|
private |
Definition at line 82 of file music_editor.h.
Referenced by Update().