This commit is contained in:
parent
d10efbdcba
commit
935ddb87fd
@ -10,22 +10,23 @@
|
||||
|
||||
namespace nostalgia::gfx {
|
||||
|
||||
inline void navigateToTileSheet(studio::Context &ctx, ox::StringViewCR path, SubSheetId subsheetId) noexcept {
|
||||
::studio::navigateTo(ctx, path, ox::intToStr(subsheetId));
|
||||
inline void navigateToTileSheet(
|
||||
studio::Context &ctx, ox::StringParam path, SubSheetId const subsheetId) noexcept {
|
||||
studio::navigateTo(ctx, std::move(path), ox::intToStr(subsheetId));
|
||||
}
|
||||
|
||||
inline void navigateToPalette(studio::Context &ctx, ox::StringViewCR path) noexcept {
|
||||
::studio::navigateTo(ctx, path);
|
||||
inline void navigateToPalette(studio::Context &ctx, ox::StringParam path) noexcept {
|
||||
studio::navigateTo(ctx, std::move(path));
|
||||
}
|
||||
|
||||
inline void navigateToPalette(
|
||||
studio::Context &ctx,
|
||||
ox::StringViewCR path,
|
||||
ox::StringParam path,
|
||||
size_t const colorIdx,
|
||||
size_t const palPage) noexcept {
|
||||
::studio::navigateTo(
|
||||
studio::navigateTo(
|
||||
ctx,
|
||||
path,
|
||||
std::move(path),
|
||||
ox::sfmt("{};{}", colorIdx, palPage));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user