rename MasterEditor to EditorManager

This commit is contained in:
scawful
2024-08-10 12:23:28 -04:00
parent 94a0fd02f6
commit 20289483ab
7 changed files with 43 additions and 43 deletions

View File

@@ -13,7 +13,7 @@
#include "absl/status/status.h"
#include "app/core/common.h"
#include "app/core/platform/renderer.h"
#include "app/editor/master_editor.h"
#include "app/editor/editor_manager.h"
#include "app/editor/utils/editor.h"
#include "app/gui/icons.h"
#include "app/gui/style.h"
@@ -47,8 +47,8 @@ class Controller : public ExperimentFlags {
absl::Status LoadFontFamilies() const;
absl::Status LoadAudioDevice();
void SetupScreen() { master_editor_.SetupScreen(); }
auto master_editor() -> editor::MasterEditor & { return master_editor_; }
void SetupScreen() { editor_manager_.SetupScreen(); }
auto editor_manager() -> editor::EditorManager & { return editor_manager_; }
auto renderer() -> SDL_Renderer * {
return Renderer::GetInstance().renderer();
}
@@ -59,7 +59,7 @@ class Controller : public ExperimentFlags {
bool active_;
Platform platform_;
editor::MasterEditor master_editor_;
editor::EditorManager editor_manager_;
int audio_frequency_ = 48000;
int16_t *audio_buffer_;