SaveTool: change how the game state is displayed.

This commit is contained in:
Guillaume Jacquemin 2021-06-20 19:36:42 +02:00
parent d23095f662
commit 9fb654c89d

View file

@ -458,13 +458,16 @@ void SaveTool::drawGameState() {
{ {
switch(_mbManager->gameState()) { switch(_mbManager->gameState()) {
case GameState::Unknown: case GameState::Unknown:
ImGui::TextColored(ImColor{0xff00a5ff}, "unknown"); ImGui::TextColored(ImColor{0xff00a5ff}, ICON_FA_CIRCLE);
drawTooltip("unknown");
break; break;
case GameState::NotRunning: case GameState::NotRunning:
ImGui::TextColored(ImColor{0xff32cd32}, "not running"); ImGui::TextColored(ImColor{0xff32cd32}, ICON_FA_CIRCLE);
drawTooltip("not running");
break; break;
case GameState::Running: case GameState::Running:
ImGui::TextColored(ImColor{0xff0000ff}, "running"); ImGui::TextColored(ImColor{0xff0000ff}, ICON_FA_CIRCLE);
drawTooltip("running");
break; break;
} }
} }