[nostalgia/core/studio] Add palette picker combo box

This commit is contained in:
2022-03-24 20:54:17 -05:00
parent ef3a28846c
commit 6eb4070d97
5 changed files with 82 additions and 7 deletions
@@ -10,7 +10,6 @@
#include <nostalgia/core/gfx.hpp>
#include <nostalgia/geo/bounds.hpp>
#include <nostalgia/geo/point.hpp>
#include <nostalgia/geo/vec.hpp>
#include <nostalgia/studio/studio.hpp>
namespace nostalgia::core {
@@ -53,6 +52,11 @@ class TileSheetEditorModel: public ox::SignalHandler {
[[nodiscard]]
constexpr const Palette &pal() const noexcept;
[[nodiscard]]
const ox::FileAddress &palPath() const noexcept;
ox::Error setPalette(const ox::String &path) noexcept;
void drawCommand(const geo::Point &pt, std::size_t palIdx) noexcept;
void endDrawCommand() noexcept;