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::SharedRom | |
SharedRom ()=default | |
virtual | ~SharedRom ()=default |
std::shared_ptr< Rom > | shared_rom () |
auto | rom () |
Public Member Functions inherited from yaze::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_ |
Additional Inherited Members | |
Static Public Attributes inherited from yaze::SharedRom | |
static std::shared_ptr< Rom > | shared_rom_ = nullptr |
Protected Attributes inherited from yaze::editor::Editor | |
EditorType | type_ |
EditorContext | context_ |
A class for editing music data in a Rom.
Definition at line 57 of file music_editor.h.
|
inline |
Definition at line 59 of file music_editor.h.
References yaze::editor::kMusic, and yaze::editor::Editor::type_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 13 of file music_editor.cc.
References assembly_editor_, DrawChannels(), DrawPianoRoll(), DrawToolset(), and yaze::editor::music_editor_flags_.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 63 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 64 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 65 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 66 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 67 of file music_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 68 of file music_editor.h.
|
private |
Definition at line 35 of file music_editor.cc.
References DrawPianoStaff().
Referenced by Update().
|
private |
Definition at line 50 of file music_editor.cc.
Referenced by DrawChannels().
|
private |
Definition at line 88 of file music_editor.cc.
Referenced by Update().
|
private |
Definition at line 152 of file music_editor.cc.
References yaze::editor::toolset_table_flags_.
|
private |
Definition at line 164 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::gui::ItemLabel(), music_tracker_, yaze::SharedRom::rom(), and yaze::editor::toolset_table_flags_.
Referenced by Update().
|
private |
Definition at line 77 of file music_editor.h.
Referenced by DrawToolset().
|
private |
Definition at line 79 of file music_editor.h.
Referenced by Update().