#include <memory_editor.h>

Classes | |
| struct | Bookmark |
Public Member Functions | |
| MemoryEditor (Rom *rom=nullptr) | |
| void | Update (bool &show_memory_editor) |
| void | SetRom (Rom *rom) |
| Rom * | rom () const |
Private Member Functions | |
| void | DrawToolbar () |
| void | DrawJumpToAddressPopup () |
| void | DrawSearchPopup () |
| void | DrawBookmarksPopup () |
Private Attributes | |
| Rom * | rom_ |
| gui::MemoryEditorWidget | memory_widget_ |
| gui::MemoryEditorWidget | comparison_widget_ |
| bool | show_compare_rom_ = false |
| Rom | comparison_rom_ |
| char | jump_address_ [16] = "0x000000" |
| char | search_pattern_ [256] = "" |
| uint32_t | current_address_ = 0 |
| std::vector< Bookmark > | bookmarks_ |
Definition at line 20 of file memory_editor.h.
|
inlineexplicit |
Definition at line 21 of file memory_editor.h.
| void yaze::editor::MemoryEditor::Update | ( | bool & | show_memory_editor | ) |
Definition at line 11 of file memory_editor.cc.
References BEGIN_TABLE, comparison_rom_, comparison_widget_, yaze::gui::MemoryEditorWidget::DrawContents(), DrawToolbar(), END_TABLE, yaze::Rom::filename(), yaze::gui::InputHex(), yaze::Rom::LoadFromFile(), memory_widget_, NEXT_COLUMN, PRINT_IF_ERROR, rom(), yaze::gui::MemoryEditorWidget::SetComparisonData(), SETUP_COLUMN, show_compare_rom_, yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::Rom::size(), and yaze::SnesToPc().
|
inline |
|
inline |
Definition at line 29 of file memory_editor.h.
References rom_.
|
private |
Definition at line 50 of file memory_editor.cc.
References current_address_, DrawBookmarksPopup(), DrawJumpToAddressPopup(), DrawSearchPopup(), ICON_MD_BOOKMARK, ICON_MD_LOCATION_ON, ICON_MD_LOCATION_SEARCHING, ICON_MD_MORE_VERT, and ICON_MD_SEARCH.
Referenced by Update().

|
private |
Definition at line 96 of file memory_editor.cc.
References current_address_, yaze::gui::MemoryEditorWidget::GotoAddrAndHighlight(), ICON_MD_CANCEL, ICON_MD_CHECK, ICON_MD_LOCATION_SEARCHING, jump_address_, and memory_widget_.
Referenced by DrawToolbar().

|
private |
Definition at line 139 of file memory_editor.cc.
References ICON_MD_CANCEL, ICON_MD_LIST, ICON_MD_SEARCH, and search_pattern_.
Referenced by DrawToolbar().
|
private |
Definition at line 187 of file memory_editor.cc.
References yaze::editor::MemoryEditor::Bookmark::address, bookmarks_, current_address_, yaze::editor::MemoryEditor::Bookmark::description, yaze::gui::MemoryEditorWidget::GotoAddrAndHighlight(), ICON_MD_ADD, ICON_MD_BOOKMARK, ICON_MD_CLEAR_ALL, ICON_MD_CLOSE, ICON_MD_INFO, memory_widget_, and yaze::editor::MemoryEditor::Bookmark::name.
Referenced by DrawToolbar().

|
private |
Definition at line 37 of file memory_editor.h.
|
private |
Definition at line 38 of file memory_editor.h.
Referenced by DrawBookmarksPopup(), DrawJumpToAddressPopup(), and Update().
|
private |
Definition at line 39 of file memory_editor.h.
Referenced by Update().
|
private |
Definition at line 40 of file memory_editor.h.
Referenced by Update().
|
private |
Definition at line 41 of file memory_editor.h.
Referenced by Update().
|
private |
Definition at line 44 of file memory_editor.h.
Referenced by DrawJumpToAddressPopup().
|
private |
Definition at line 45 of file memory_editor.h.
Referenced by DrawSearchPopup().
|
private |
Definition at line 46 of file memory_editor.h.
Referenced by DrawBookmarksPopup(), DrawJumpToAddressPopup(), and DrawToolbar().
|
private |
Definition at line 53 of file memory_editor.h.
Referenced by DrawBookmarksPopup().