[Scummvm-git-logs] scummvm master -> 99615e1d662453c0bd42e332404661400df8c7fb

sev- noreply at scummvm.org
Sat May 25 00:40:58 UTC 2024


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:
99615e1d66 iDIRECTOR: DEBUGGER: Show button ttoltips in Log window


Commit: 99615e1d662453c0bd42e332404661400df8c7fb
    https://github.com/scummvm/scummvm/commit/99615e1d662453c0bd42e332404661400df8c7fb
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-05-25T02:40:21+02:00

Commit Message:
iDIRECTOR: DEBUGGER: Show button ttoltips in Log window

Changed paths:
    engines/director/debugtools.cpp


diff --git a/engines/director/debugtools.cpp b/engines/director/debugtools.cpp
index ba6ea852673..07ecc717b76 100644
--- a/engines/director/debugtools.cpp
+++ b/engines/director/debugtools.cpp
@@ -250,24 +250,28 @@ struct ImGuiLogger {
 		ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.f, 0.f, 0.f, 1.f));
 		toggleButton("\ue160", &_showError);
 		ImGui::PopStyleColor();
+		ImGui::SetItemTooltip("Show Errors");
 		ImGui::SameLine();
 
 		// Warning
 		ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.f, 1.f, 0.f, 1.f));
 		toggleButton("\ue002", &_showWarn);
 		ImGui::PopStyleColor();
+		ImGui::SetItemTooltip("Show Warnings");
 		ImGui::SameLine();
 
 		// Info
 		ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.f, 1.f, 1.f, 1.f));
 		toggleButton("\ue88e", &_showInfo);
 		ImGui::PopStyleColor();
+		ImGui::SetItemTooltip("Show Info");
 		ImGui::SameLine();
 
 		// Debug
 		ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(0.8f, 0.8f, 0.8f, 1.f));
 		toggleButton("\ue868", &_showdebug);
 		ImGui::PopStyleColor();
+		ImGui::SetItemTooltip("Show Debug");
 		ImGui::SameLine();
 
 		_filter.Draw("Filter (\"incl,-excl\") (\"warn\")", 180);




More information about the Scummvm-git-logs mailing list