From b1764c3fcc39ddd67760694540e3634ff06ba17c Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Thu, 21 Sep 2023 16:38:30 -0400 Subject: [PATCH] Added debug sound button --- Editor/src/Windows/EditorInterface.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Editor/src/Windows/EditorInterface.cpp b/Editor/src/Windows/EditorInterface.cpp index 399f0f8c..1e487af1 100644 --- a/Editor/src/Windows/EditorInterface.cpp +++ b/Editor/src/Windows/EditorInterface.cpp @@ -47,6 +47,7 @@ #include #include #include "UIDemoWindow.h" +#include namespace Nuake { Ref userInterface; @@ -114,6 +115,13 @@ namespace Nuake { ImGui::SameLine(); + if (ImGui::Button(ICON_FA_MUSIC, ImVec2(30, 30))) + { + Nuake::AudioManager::Get().QueueWavAudio("jump.wav"); + } + + ImGui::SameLine(); + ImGui::Dummy(ImVec2(ImGui::GetContentRegionAvail().x - 120, 30)); ImGui::SameLine();