yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::MemoryEditorWithDiffChecker Struct Reference

#include <memory_editor.h>

Collaboration diagram for yaze::editor::MemoryEditorWithDiffChecker:

Classes

struct  Bookmark
 

Public Member Functions

 MemoryEditorWithDiffChecker (Rom *rom=nullptr)
 
void Update (bool &show_memory_editor)
 
void set_rom (Rom *rom)
 
Romrom () const
 

Private Member Functions

void DrawToolbar ()
 
void DrawJumpToAddressPopup ()
 
void DrawSearchPopup ()
 
void DrawBookmarksPopup ()
 

Private Attributes

Romrom_
 
char jump_address_ [16] = "0x000000"
 
char search_pattern_ [256] = ""
 
uint32_t current_address_ = 0
 
std::vector< Bookmarkbookmarks_
 

Detailed Description

Definition at line 18 of file memory_editor.h.

Constructor & Destructor Documentation

◆ MemoryEditorWithDiffChecker()

yaze::editor::MemoryEditorWithDiffChecker::MemoryEditorWithDiffChecker ( Rom rom = nullptr)
inlineexplicit

Definition at line 19 of file memory_editor.h.

Member Function Documentation

◆ Update()

◆ set_rom()

void yaze::editor::MemoryEditorWithDiffChecker::set_rom ( Rom rom)
inline

Definition at line 65 of file memory_editor.h.

References rom(), and rom_.

Here is the call graph for this function:

◆ rom()

Rom * yaze::editor::MemoryEditorWithDiffChecker::rom ( ) const
inline

Definition at line 68 of file memory_editor.h.

References rom_.

Referenced by set_rom(), and Update().

◆ DrawToolbar()

void yaze::editor::MemoryEditorWithDiffChecker::DrawToolbar ( )
private

◆ DrawJumpToAddressPopup()

void yaze::editor::MemoryEditorWithDiffChecker::DrawJumpToAddressPopup ( )
private

◆ DrawSearchPopup()

void yaze::editor::MemoryEditorWithDiffChecker::DrawSearchPopup ( )
private
Todo:
Implement search
Todo:
Implement search using hex-search handler

Definition at line 95 of file memory_editor.cc.

References ICON_MD_CANCEL, ICON_MD_LIST, ICON_MD_SEARCH, and search_pattern_.

Referenced by DrawToolbar().

◆ DrawBookmarksPopup()

Member Data Documentation

◆ rom_

Rom* yaze::editor::MemoryEditorWithDiffChecker::rom_
private

Definition at line 76 of file memory_editor.h.

Referenced by rom(), and set_rom().

◆ jump_address_

char yaze::editor::MemoryEditorWithDiffChecker::jump_address_[16] = "0x000000"
private

Definition at line 79 of file memory_editor.h.

Referenced by DrawJumpToAddressPopup().

◆ search_pattern_

char yaze::editor::MemoryEditorWithDiffChecker::search_pattern_[256] = ""
private

Definition at line 80 of file memory_editor.h.

Referenced by DrawSearchPopup().

◆ current_address_

uint32_t yaze::editor::MemoryEditorWithDiffChecker::current_address_ = 0
private

Definition at line 81 of file memory_editor.h.

Referenced by DrawBookmarksPopup(), DrawJumpToAddressPopup(), and DrawToolbar().

◆ bookmarks_

std::vector<Bookmark> yaze::editor::MemoryEditorWithDiffChecker::bookmarks_
private

Definition at line 88 of file memory_editor.h.

Referenced by DrawBookmarksPopup().


The documentation for this struct was generated from the following files: