cleanup tracker class and move helper functions
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
#include "absl/strings/str_format.h"
|
||||
#include "app/editor/assembly_editor.h"
|
||||
#include "app/rom.h"
|
||||
#include "app/zelda3/tracker.h"
|
||||
#include "gui/canvas.h"
|
||||
#include "gui/icons.h"
|
||||
#include "gui/input.h"
|
||||
@@ -55,6 +57,7 @@ static constexpr absl::string_view kSongNotes[] = {
|
||||
class MusicEditor {
|
||||
public:
|
||||
void Update();
|
||||
void SetupROM(ROM& rom) { rom_ = rom; }
|
||||
|
||||
private:
|
||||
void DrawChannels();
|
||||
@@ -63,6 +66,9 @@ class MusicEditor {
|
||||
void DrawSongToolset();
|
||||
void DrawToolset();
|
||||
|
||||
zelda3::Tracker music_tracker_;
|
||||
ROM rom_;
|
||||
|
||||
Mix_Music* current_song_ = NULL;
|
||||
|
||||
AssemblyEditor assembly_editor_;
|
||||
|
||||
Reference in New Issue
Block a user