Compare commits
2 Commits
ac1e34d4cd
...
2094450898
Author | SHA1 | Date | |
---|---|---|---|
2094450898 | |||
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;
|
||||||
|
|
||||||
|
@ -71,12 +71,6 @@ class SelectionTracker {
|
|||||||
return m_selectionOngoing;
|
return m_selectionOngoing;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr void startSelection(ox::Point cursor) noexcept {
|
|
||||||
m_pointA = cursor;
|
|
||||||
m_pointB = cursor;
|
|
||||||
m_selectionOngoing = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param cursor
|
* @param cursor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user