[Scummvm-git-logs] scummvm master -> 4aae58700eb4bba8e088f070770b2b335c773a4e

sev- noreply at scummvm.org
Mon May 20 13:05:40 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:
4aae58700e DIRECTOR: DEBUGGER: Sorted windows list and addes some button tooltips


Commit: 4aae58700eb4bba8e088f070770b2b335c773a4e
    https://github.com/scummvm/scummvm/commit/4aae58700eb4bba8e088f070770b2b335c773a4e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-05-20T15:05:12+02:00

Commit Message:
DIRECTOR: DEBUGGER: Sorted windows list and addes some button tooltips

Changed paths:
    engines/director/debugtools.cpp


diff --git a/engines/director/debugtools.cpp b/engines/director/debugtools.cpp
index 7454680c0d8..9c1c3f4a44d 100644
--- a/engines/director/debugtools.cpp
+++ b/engines/director/debugtools.cpp
@@ -1433,10 +1433,12 @@ static void displayScripts() {
 		if (ImGui::Button("\ue025")) { // Lingo
 			_state->_functions._showByteCode = false;
 		}
+		ImGui::SetItemTooltip("Lingo");
 		ImGui::SameLine();
 		if (ImGui::Button("\ue079")) { // Bytecode
 			_state->_functions._showByteCode = true;
 		}
+		ImGui::SetItemTooltip("Bytecode");
 		ImGui::Separator();
 
 		ImGui::Text("%s", _state->_functions._script.handlerName.c_str());
@@ -1962,13 +1964,13 @@ void onImGuiRender() {
 			}
 
 			ImGui::MenuItem("Control Panel", NULL, &_state->_w.controlPanel);
-			ImGui::MenuItem("CallStack", NULL, &_state->_w.callStack);
-			ImGui::MenuItem("Vars", NULL, &_state->_w.vars);
-			ImGui::MenuItem("Channels", NULL, &_state->_w.channels);
-			ImGui::MenuItem("Cast", NULL, &_state->_w.cast);
+			ImGui::MenuItem("Score", NULL, &_state->_w.score);
 			ImGui::MenuItem("Functions", NULL, &_state->_w.funcList);
+			ImGui::MenuItem("Cast", NULL, &_state->_w.cast);
+			ImGui::MenuItem("Channels", NULL, &_state->_w.channels);
+			ImGui::MenuItem("CallStack", NULL, &_state->_w.callStack);
 			ImGui::MenuItem("Breakpoints", NULL, &_state->_w.bpList);
-			ImGui::MenuItem("Score", NULL, &_state->_w.score);
+			ImGui::MenuItem("Vars", NULL, &_state->_w.vars);
 
 			ImGui::SeparatorText("Misc");
 			if (ImGui::MenuItem("Save state")) {




More information about the Scummvm-git-logs mailing list