SaveTool: improve the M.A.S.S. manager UI.

This commit is contained in:
Guillaume Jacquemin 2021-08-19 14:11:18 +02:00
parent 2644a73fc9
commit e580736ac6

View file

@ -478,10 +478,10 @@ void SaveTool::drawMassManager() {
ImGui::TableSetColumnIndex(1); ImGui::TableSetColumnIndex(1);
switch(_massManager->massState(i)) { switch(_massManager->massState(i)) {
case MassState::Empty: case MassState::Empty:
ImGui::TextUnformatted("<empty>"); ImGui::TextDisabled("<empty>");
break; break;
case MassState::Invalid: case MassState::Invalid:
ImGui::TextUnformatted("<invalid>"); ImGui::TextDisabled("<invalid>");
break; break;
case MassState::Valid: case MassState::Valid:
ImGui::TextUnformatted(_massManager->massName(i).c_str()); ImGui::TextUnformatted(_massManager->massName(i).c_str());
@ -491,6 +491,7 @@ void SaveTool::drawMassManager() {
if(i == _currentProfile->activeFrameSlot()) { if(i == _currentProfile->activeFrameSlot()) {
ImGui::TableSetColumnIndex(2); ImGui::TableSetColumnIndex(2);
ImGui::TextUnformatted(ICON_FA_CHECK); ImGui::TextUnformatted(ICON_FA_CHECK);
drawTooltip("This is the currently active frame slot.");
} }
if(_massManager->massState(i) != MassState::Empty) { if(_massManager->massState(i) != MassState::Empty) {