A class for editing music data in a Rom.
More...
#include <music_editor.h>
A class for editing music data in a Rom.
Definition at line 64 of file music_editor.h.
◆ MusicEditor()
yaze::editor::MusicEditor::MusicEditor |
( |
Rom * |
rom = nullptr | ) |
|
|
inlineexplicit |
◆ Initialize()
void yaze::editor::MusicEditor::Initialize |
( |
| ) |
|
|
overridevirtual |
◆ Load()
absl::Status yaze::editor::MusicEditor::Load |
( |
| ) |
|
|
overridevirtual |
◆ Save()
absl::Status yaze::editor::MusicEditor::Save |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Update()
absl::Status yaze::editor::MusicEditor::Update |
( |
| ) |
|
|
overridevirtual |
◆ Cut()
absl::Status yaze::editor::MusicEditor::Cut |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Copy()
absl::Status yaze::editor::MusicEditor::Copy |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Paste()
absl::Status yaze::editor::MusicEditor::Paste |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Undo()
absl::Status yaze::editor::MusicEditor::Undo |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Redo()
absl::Status yaze::editor::MusicEditor::Redo |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Find()
absl::Status yaze::editor::MusicEditor::Find |
( |
| ) |
|
|
inlineoverridevirtual |
◆ set_rom()
void yaze::editor::MusicEditor::set_rom |
( |
Rom * |
rom | ) |
|
|
inline |
◆ rom()
Rom * yaze::editor::MusicEditor::rom |
( |
| ) |
const |
|
inline |
◆ set_emulator()
void yaze::editor::MusicEditor::set_emulator |
( |
emu::Emulator * |
emulator | ) |
|
|
inline |
◆ emulator()
◆ PlaySong()
void yaze::editor::MusicEditor::PlaySong |
( |
int |
song_id | ) |
|
◆ StopSong()
void yaze::editor::MusicEditor::StopSong |
( |
| ) |
|
◆ SetVolume()
void yaze::editor::MusicEditor::SetVolume |
( |
float |
volume | ) |
|
◆ DrawTrackerView()
void yaze::editor::MusicEditor::DrawTrackerView |
( |
| ) |
|
|
private |
◆ DrawInstrumentEditor()
void yaze::editor::MusicEditor::DrawInstrumentEditor |
( |
| ) |
|
|
private |
◆ DrawSampleEditor()
void yaze::editor::MusicEditor::DrawSampleEditor |
( |
| ) |
|
|
private |
◆ DrawToolset()
void yaze::editor::MusicEditor::DrawToolset |
( |
| ) |
|
|
private |
Definition at line 149 of file music_editor.cc.
References 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(), yaze::zelda3::music::Tracker::LoadSongs(), music_tracker_, rom(), and toolset_table_flags_.
Referenced by Update().
◆ StartPlayback()
void yaze::editor::MusicEditor::StartPlayback |
( |
| ) |
|
|
private |
◆ StopPlayback()
void yaze::editor::MusicEditor::StopPlayback |
( |
| ) |
|
|
private |
◆ UpdatePlayback()
void yaze::editor::MusicEditor::UpdatePlayback |
( |
| ) |
|
|
private |
◆ assembly_editor_
◆ music_tracker_
◆ current_song_index_
int yaze::editor::MusicEditor::current_song_index_ = 0 |
|
private |
◆ current_pattern_index_
int yaze::editor::MusicEditor::current_pattern_index_ = 0 |
|
private |
◆ current_channel_index_
int yaze::editor::MusicEditor::current_channel_index_ = 0 |
|
private |
◆ is_playing_
bool yaze::editor::MusicEditor::is_playing_ = false |
|
private |
◆ channel_muted_
std::vector<bool> yaze::editor::MusicEditor::channel_muted_ = std::vector<bool>(8, false) |
|
private |
◆ channel_soloed_
std::vector<bool> yaze::editor::MusicEditor::channel_soloed_ = std::vector<bool>(8, false) |
|
private |
◆ song_names_
std::vector<std::string> yaze::editor::MusicEditor::song_names_ |
|
private |
◆ music_editor_flags_
ImGuiTableFlags yaze::editor::MusicEditor::music_editor_flags_ |
|
private |
Initial value:=
ImGuiTableFlags_Resizable | ImGuiTableFlags_BordersOuter |
ImGuiTableFlags_BordersV | ImGuiTableFlags_SizingFixedFit
Definition at line 121 of file music_editor.h.
Referenced by Update().
◆ toolset_table_flags_
ImGuiTableFlags yaze::editor::MusicEditor::toolset_table_flags_ |
|
private |
Initial value:=
ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_BordersOuter |
ImGuiTableFlags_BordersV | ImGuiTableFlags_PadOuterX
Definition at line 125 of file music_editor.h.
Referenced by DrawToolset().
◆ rom_
Rom* yaze::editor::MusicEditor::rom_ |
|
private |
◆ emulator_
The documentation for this class was generated from the following files: