[nostalgia/gfx/studio] Update for Ox changes
This commit is contained in:
parent
50c8302f4a
commit
d20889aef1
@ -53,7 +53,7 @@ class PaletteEditorImGui: public studio::Editor {
|
|||||||
static void drawColumn(ox::CStringView txt) noexcept;
|
static void drawColumn(ox::CStringView txt) noexcept;
|
||||||
|
|
||||||
static void drawColumn(ox::Integer_c auto i) noexcept {
|
static void drawColumn(ox::Integer_c auto i) noexcept {
|
||||||
drawColumn(ox::itoa(i));
|
drawColumn(ox::intToStr(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void numShortcuts(size_t &val, size_t sizeRange) noexcept;
|
static void numShortcuts(size_t &val, size_t sizeRange) noexcept;
|
||||||
|
@ -549,7 +549,7 @@ void TileSheetEditorImGui::drawPaletteMenu() noexcept {
|
|||||||
ImGui::PushID(static_cast<int>(i));
|
ImGui::PushID(static_cast<int>(i));
|
||||||
// Column: color idx
|
// Column: color idx
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
auto const label = ox::itoa(i + 1);
|
auto const label = ox::intToStr(i + 1);
|
||||||
auto const rowSelected = i == m_view.palIdx();
|
auto const rowSelected = i == m_view.palIdx();
|
||||||
if (ImGui::Selectable(
|
if (ImGui::Selectable(
|
||||||
label.c_str(), rowSelected, ImGuiSelectableFlags_SpanAllColumns)) {
|
label.c_str(), rowSelected, ImGuiSelectableFlags_SpanAllColumns)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user