From 3c23e9e2a68d8e06d3f339e6f7587af7f1534f1b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 23 May 2024 01:27:17 +0200 Subject: [PATCH] DIRECTOR: DEBUGGER: Added navigation buttons to script window --- engines/director/debugtools.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/engines/director/debugtools.cpp b/engines/director/debugtools.cpp index 773400b1d47..92d6b49268e 100644 --- a/engines/director/debugtools.cpp +++ b/engines/director/debugtools.cpp @@ -2096,6 +2096,19 @@ static void displayScripts() { ImGui::SetNextWindowSize(ImVec2(240, 240), ImGuiCond_FirstUseEver); if (ImGui::Begin("Script", &_state->_functions._showScript)) { + if (ImGui::Button("\ue5c4")) { // Backward // arrow_back + } + ImGui::SetItemTooltip("Backward"); + ImGui::SameLine(); + if (ImGui::Button("\ue5c8")) { // Forward // arrow_forward + } + ImGui::SetItemTooltip("Forward"); + ImGui::SameLine(0, 20); + if (ImGui::Button("\ue889")) { // History // history + } + ImGui::SetItemTooltip("History"); + ImGui::SameLine(0, 40); + if (ImGui::Button("\uf569")) { // Lingo // package_2 _state->_functions._showByteCode = false; }