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

Contains a complete set of editors for a single ROM instance. More...

#include <session_types.h>

Public Member Functions

 EditorSet (Rom *rom=nullptr, UserSettings *user_settings=nullptr, size_t session_id=0)
 
void set_user_settings (UserSettings *settings)
 
void ApplyDependencies (const EditorDependencies &dependencies)
 
size_t session_id () const
 

Public Attributes

AssemblyEditor assembly_editor_
 
DungeonEditorV2 dungeon_editor_
 
GraphicsEditor graphics_editor_
 
MusicEditor music_editor_
 
OverworldEditor overworld_editor_
 
PaletteEditor palette_editor_
 
ScreenEditor screen_editor_
 
SpriteEditor sprite_editor_
 
SettingsEditor settings_editor_
 
MessageEditor message_editor_
 
MemoryEditorWithDiffChecker memory_editor_
 
std::vector< Editor * > active_editors_
 

Private Attributes

size_t session_id_ = 0
 

Detailed Description

Contains a complete set of editors for a single ROM instance.

Definition at line 29 of file session_types.h.

Constructor & Destructor Documentation

◆ EditorSet()

yaze::editor::EditorSet::EditorSet ( Rom rom = nullptr,
UserSettings user_settings = nullptr,
size_t  session_id = 0 
)
explicit

Member Function Documentation

◆ set_user_settings()

void yaze::editor::EditorSet::set_user_settings ( UserSettings settings)

Definition at line 27 of file session_types.cc.

References yaze::editor::SettingsEditor::set_user_settings(), and settings_editor_.

Referenced by yaze::editor::EditorManager::CreateNewSession().

Here is the call graph for this function:

◆ ApplyDependencies()

void yaze::editor::EditorSet::ApplyDependencies ( const EditorDependencies dependencies)

◆ session_id()

size_t yaze::editor::EditorSet::session_id ( ) const
inline

Member Data Documentation

◆ assembly_editor_

AssemblyEditor yaze::editor::EditorSet::assembly_editor_

Definition at line 40 of file session_types.h.

Referenced by EditorSet().

◆ dungeon_editor_

DungeonEditorV2 yaze::editor::EditorSet::dungeon_editor_

Definition at line 41 of file session_types.h.

Referenced by EditorSet().

◆ graphics_editor_

GraphicsEditor yaze::editor::EditorSet::graphics_editor_

Definition at line 42 of file session_types.h.

Referenced by EditorSet().

◆ music_editor_

MusicEditor yaze::editor::EditorSet::music_editor_

Definition at line 43 of file session_types.h.

Referenced by EditorSet().

◆ overworld_editor_

OverworldEditor yaze::editor::EditorSet::overworld_editor_

Definition at line 44 of file session_types.h.

Referenced by EditorSet().

◆ palette_editor_

PaletteEditor yaze::editor::EditorSet::palette_editor_

Definition at line 45 of file session_types.h.

Referenced by EditorSet().

◆ screen_editor_

ScreenEditor yaze::editor::EditorSet::screen_editor_

Definition at line 46 of file session_types.h.

Referenced by EditorSet().

◆ sprite_editor_

SpriteEditor yaze::editor::EditorSet::sprite_editor_

Definition at line 47 of file session_types.h.

Referenced by EditorSet().

◆ settings_editor_

SettingsEditor yaze::editor::EditorSet::settings_editor_

Definition at line 48 of file session_types.h.

Referenced by EditorSet(), and set_user_settings().

◆ message_editor_

MessageEditor yaze::editor::EditorSet::message_editor_

Definition at line 49 of file session_types.h.

Referenced by EditorSet().

◆ memory_editor_

MemoryEditorWithDiffChecker yaze::editor::EditorSet::memory_editor_

Definition at line 50 of file session_types.h.

Referenced by ApplyDependencies().

◆ active_editors_

std::vector<Editor*> yaze::editor::EditorSet::active_editors_

Definition at line 52 of file session_types.h.

Referenced by ApplyDependencies(), and EditorSet().

◆ session_id_

size_t yaze::editor::EditorSet::session_id_ = 0
private

Definition at line 55 of file session_types.h.

Referenced by session_id().


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