open code path in asm editor from project file

This commit is contained in:
scawful
2024-07-13 19:40:03 -04:00
parent 5520f92049
commit 6d125a94c0
3 changed files with 10 additions and 0 deletions

View File

@@ -93,6 +93,10 @@ core::FolderItem LoadFolder(const std::string& folder) {
} // namespace
void AssemblyEditor::OpenFolder(const std::string& folder_path) {
current_folder_ = LoadFolder(folder_path);
}
void AssemblyEditor::Update(bool& is_loaded) {
ImGui::Begin("Assembly Editor", &is_loaded);
MENU_BAR()

View File

@@ -47,6 +47,8 @@ class AssemblyEditor : public Editor {
absl::Status Update() override;
void OpenFolder(const std::string &folder_path);
private:
void DrawFileMenu();
void DrawEditMenu();