Add TODO for Canvas ContextMenu palette

This commit is contained in:
scawful
2024-01-22 20:44:57 -05:00
parent 5c9cded866
commit e4c2cdf8a3

View File

@@ -144,17 +144,17 @@ void Canvas::DrawContextMenu() {
}
ImGui::EndMenu();
}
ImGui::Separator();
if (ImGui::BeginMenu("Palette")) {
for (const auto each : editor::kPaletteGroupAddressesKeys) {
if (ImGui::BeginMenu(each)) {
// Apply the palette to the current bitmap
}
ImGui::EndMenu();
}
ImGui::EndMenu();
}
// TODO: Add a menu item for selecting the palette
// ImGui::Separator();
// if (ImGui::BeginMenu("Palette")) {
// for (const auto each : editor::kPaletteGroupAddressesKeys) {
// if (ImGui::BeginMenu(each)) {
// }
// ImGui::EndMenu();
// }
// ImGui::EndMenu();
// }
ImGui::EndPopup();
}