[nostalgia/gfx/studio/tilesheet] Cleanup
This commit is contained in:
parent
ac1e34d4cd
commit
889bec04b1
@ -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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user