[Scummvm-git-logs] scummvm master -> bfed6a5a0e45492dc08fbb4ff6896c5810d9b775
sev-
noreply at scummvm.org
Wed Mar 5 19:19:25 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bfed6a5a0e DIRECTOR: DT: Highlight selected channel number in score window
Commit: bfed6a5a0e45492dc08fbb4ff6896c5810d9b775
https://github.com/scummvm/scummvm/commit/bfed6a5a0e45492dc08fbb4ff6896c5810d9b775
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-03-05T20:19:13+01:00
Commit Message:
DIRECTOR: DT: Highlight selected channel number in score window
Changed paths:
engines/director/debugger/dt-score.cpp
diff --git a/engines/director/debugger/dt-score.cpp b/engines/director/debugger/dt-score.cpp
index b6d47adac1c..1f1041ceffb 100644
--- a/engines/director/debugger/dt-score.cpp
+++ b/engines/director/debugger/dt-score.cpp
@@ -85,7 +85,10 @@ static void displayScoreChannel(int ch, int mode, int modeSel) {
ImGui::Text(modes[mode]);
}
- ImGui::TableSetBgColor(ImGuiTableBgTarget_CellBg, ImGui::GetColorU32(ImGuiCol_TableHeaderBg));
+ if (ch == _state->_selectedScoreCast.channel)
+ ImGui::TableSetBgColor(ImGuiTableBgTarget_CellBg, ImGui::GetColorU32(ImVec4(0.5f, 0.5f, 0.5f, 0.6f)));
+ else
+ ImGui::TableSetBgColor(ImGuiTableBgTarget_CellBg, ImGui::GetColorU32(ImGuiCol_TableHeaderBg));
ImGui::Unindent(indentSize);
}
More information about the Scummvm-git-logs
mailing list