Refactor music editor to remove unnecessary includes and improve code organization

This commit is contained in:
scawful
2024-08-22 01:01:47 -04:00
parent 23640310be
commit 8177ec3dce

View File

@@ -1,8 +1,6 @@
#ifndef YAZE_APP_EDITOR_MUSIC_EDITOR_H
#define YAZE_APP_EDITOR_MUSIC_EDITOR_H
#include "imgui/imgui.h"
#include "absl/strings/str_format.h"
#include "app/editor/code/assembly_editor.h"
#include "app/editor/utils/editor.h"
@@ -11,9 +9,7 @@
#include "app/gui/input.h"
#include "app/rom.h"
#include "app/zelda3/music/tracker.h"
// #include "snes_spc/demo/demo_util.h"
// #include "snes_spc/demo/wave_writer.h"
// #include "snes_spc/snes_spc/spc.h"
#include "imgui/imgui.h"
namespace yaze {
namespace app {
@@ -81,8 +77,6 @@ class MusicEditor : public SharedRom, public Editor {
zelda3::music::Tracker music_tracker_;
// Mix_Music* current_song_ = NULL;
AssemblyEditor assembly_editor_;
ImGuiTableFlags toolset_table_flags_ = ImGuiTableFlags_SizingFixedFit;
ImGuiTableFlags music_editor_flags_ = ImGuiTableFlags_SizingFixedFit |