[nostalgia/gfx/studio/tilesheet] Cleanup

This commit is contained in:
Gary Talent 2025-04-13 23:20:49 -05:00
parent ac1e34d4cd
commit 889bec04b1
3 changed files with 2 additions and 4 deletions

View File

@ -98,8 +98,6 @@ class TileSheetEditorImGui: public studio::Editor {
ox::Error updateActiveSubsheet(ox::StringView const&name, int cols, int rows) noexcept; ox::Error updateActiveSubsheet(ox::StringView const&name, int cols, int rows) noexcept;
// slots
private:
void setActiveSubsheet(TileSheet::SubSheetIdx path) noexcept; void setActiveSubsheet(TileSheet::SubSheetIdx path) noexcept;
}; };

View File

@ -120,7 +120,7 @@ bool TileSheetEditorModel::acceptsClipboardPayload() const noexcept {
return cb.ok(); return cb.ok();
} }
ox::StringView TileSheetEditorModel::palPath() const noexcept { ox::String const &TileSheetEditorModel::palPath() const & noexcept {
return m_palPath; return m_palPath;
} }

View File

@ -62,7 +62,7 @@ class TileSheetEditorModel: public ox::SignalHandler {
constexpr Palette const&pal() const noexcept; constexpr Palette const&pal() const noexcept;
[[nodiscard]] [[nodiscard]]
ox::StringView palPath() const noexcept; ox::String const &palPath() const & noexcept;
ox::Error setPalette(ox::StringViewCR path) noexcept; ox::Error setPalette(ox::StringViewCR path) noexcept;