From e5d757e96c1af219e19fed6936ae07b92e331774 Mon Sep 17 00:00:00 2001 From: Justin Scofield Date: Mon, 25 Jul 2022 11:27:30 -0400 Subject: [PATCH] Added PaletteEditor class --- src/CMakeLists.txt | 1 + src/app/editor/palette_editor.cc | 17 +++++++++++++++++ src/app/editor/palette_editor.h | 25 +++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 src/app/editor/palette_editor.cc create mode 100644 src/app/editor/palette_editor.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 105f5378..6b93cbe7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -42,6 +42,7 @@ add_executable( app/editor/dungeon_editor.cc app/editor/master_editor.cc app/editor/overworld_editor.cc + app/editor/palette_editor.cc app/editor/screen_editor.cc app/gfx/bitmap.cc app/gfx/pseudo_vram.cc diff --git a/src/app/editor/palette_editor.cc b/src/app/editor/palette_editor.cc new file mode 100644 index 00000000..8717bde0 --- /dev/null +++ b/src/app/editor/palette_editor.cc @@ -0,0 +1,17 @@ +#include "palette_editor.h" + +#include + +#include "app/gfx/snes_palette.h" +#include "gui/canvas.h" +#include "gui/icons.h" + +namespace yaze { +namespace app { +namespace editor { + +void PaletteEditor::Update() {} + +} // namespace editor +} // namespace app +} // namespace yaze \ No newline at end of file diff --git a/src/app/editor/palette_editor.h b/src/app/editor/palette_editor.h new file mode 100644 index 00000000..12b8d8c0 --- /dev/null +++ b/src/app/editor/palette_editor.h @@ -0,0 +1,25 @@ +#ifndef YAZE_APP_EDITOR_PALETTE_EDITOR_H +#define YAZE_APP_EDITOR_PALETTE_EDITOR_H + +#include + +#include "app/gfx/snes_palette.h" +#include "gui/canvas.h" +#include "gui/icons.h" + +namespace yaze { +namespace app { +namespace editor { + +class PaletteEditor { + public: + void Update(); + + private: +}; + +} // namespace editor +} // namespace app +} // namespace yaze + +#endif \ No newline at end of file