#include <settings_editor.h>
Public Member Functions | |
SettingsEditor (Rom *rom=nullptr) | |
void | Initialize () override |
absl::Status | Load () override |
absl::Status | Save () override |
absl::Status | Update () override |
absl::Status | Cut () override |
absl::Status | Copy () override |
absl::Status | Paste () override |
absl::Status | Undo () override |
absl::Status | Redo () override |
absl::Status | Find () override |
void | set_rom (Rom *rom) |
Rom * | rom () const |
![]() | |
Editor ()=default | |
virtual | ~Editor ()=default |
virtual absl::Status | Clear () |
virtual void | CleanupUnusedTextures (uint64_t current_time, uint64_t timeout) |
EditorType | type () const |
void | set_context (EditorContext *context) |
bool * | active () |
void | set_active (bool active) |
Private Member Functions | |
void | DrawGeneralSettings () |
void | DrawKeyboardShortcuts () |
Private Attributes | |
Rom * | rom_ |
Additional Inherited Members | |
![]() | |
bool | active_ = false |
EditorType | type_ |
EditorContext * | context_ = nullptr |
Definition at line 208 of file settings_editor.h.
|
inlineexplicit |
Definition at line 210 of file settings_editor.h.
References yaze::editor::kSettings, rom(), rom_, and yaze::editor::Editor::type_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 24 of file settings_editor.cc.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 26 of file settings_editor.cc.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 216 of file settings_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 28 of file settings_editor.cc.
References yaze::gui::DrawFontManager(), DrawGeneralSettings(), and DrawKeyboardShortcuts().
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 218 of file settings_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 219 of file settings_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 220 of file settings_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 221 of file settings_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 222 of file settings_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 223 of file settings_editor.h.
|
inline |
|
inline |
Definition at line 229 of file settings_editor.h.
References rom_.
Referenced by set_rom(), and SettingsEditor().
|
private |
Definition at line 48 of file settings_editor.cc.
References yaze::core::FlagsMenu::DrawDungeonFlags(), yaze::core::FlagsMenu::DrawOverworldFlags(), yaze::core::FlagsMenu::DrawResourceFlags(), and yaze::core::FlagsMenu::DrawSystemFlags().
Referenced by Update().
|
private |
Definition at line 78 of file settings_editor.cc.
References yaze::editor::Editor::context_, and yaze::editor::PrintShortcut().
Referenced by Update().
|
private |
Definition at line 232 of file settings_editor.h.
Referenced by rom(), set_rom(), and SettingsEditor().