This commit is contained in:
Stiffly
2015-10-15 13:48:05 +02:00
parent bb23d5a8c4
commit 64f903a6b6
5 changed files with 43 additions and 32 deletions
+6
View File
@@ -7,6 +7,7 @@
#include "GUI/EButtonRelease.h"
#include "GUI/ESliderUpdate.h"
#include "Core/EMouseMove.h"
#include "Sound/EPlaySound.h"
namespace dd
{
@@ -79,6 +80,11 @@ private:
if (event.Button == m_SliderButton) {
m_IsGrabbed = true;
}
else {
Events::PlaySound e;
e.FilePath = "Sounds/GUI/click.wav";
EventBroker->Publish(e);
}
return true;
}