feat(editor): enhance card management

- Implemented initialization for music-related editor cards, including Music Tracker and Instrument Editor, with appropriate registration and default visibility settings.
- Updated MusicEditor to manage card visibility dynamically and added methods for drawing specific editor views.
- Improved EditorCardManager to handle recent category tracking, enhancing user navigation through editor categories.

Benefits:
- Streamlines access to music editing tools, improving user experience and workflow efficiency within the editor environment.
This commit is contained in:
scawful
2025-10-12 21:12:20 -04:00
parent a2e219c33b
commit 19cc46614a
7 changed files with 103 additions and 37 deletions

View File

@@ -105,8 +105,9 @@ bool EditorManager::IsCardBasedEditor(EditorType type) {
case EditorType::kMessage: // ✅ Message editor cards
case EditorType::kHex: // ✅ Memory/Hex editor
case EditorType::kAssembly: // ✅ Assembly editor
case EditorType::kMusic: // ✅ Music tracker + instrument editor
return true;
// Music: Traditional UI - needs wrapper
// Settings, Agent: Traditional UI - needs wrapper
default:
return false;
}