#ifndef YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H #define YAZE_APP_EDITOR_ASSEMBLY_EDITOR_H #include #include #include #include #include namespace yaze { namespace app { namespace editor { /** * @class AssemblyEditor * @brief Text editor for modifying assembly code. */ class AssemblyEditor { public: AssemblyEditor(); void Update(bool &is_loaded); void InlineUpdate(); void ChangeActiveFile(const std::string_view &); private: void DrawFileMenu(); void DrawEditMenu(); void DrawFileView(); void SetEditorText(); bool file_is_loaded_ = false; std::string current_file_; TextEditor text_editor_; }; } // namespace editor } // namespace app } // namespace yaze #endif