From 754d71a59b7d07a12c7e7d198b7fdc3c9e1bdc5e Mon Sep 17 00:00:00 2001 From: brunzelchen Date: Sun, 21 Feb 2010 21:28:52 +0000 Subject: moved and renamed DrawVolume to UDraw.DrawVolumeBar added volume control to score screen, top screen and jumpto menu fixed a bug with VocalRemover when pausing a song git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2137 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Screens/UScreenSongJumpto.pas | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Game/Code/Screens/UScreenSongJumpto.pas') diff --git a/Game/Code/Screens/UScreenSongJumpto.pas b/Game/Code/Screens/UScreenSongJumpto.pas index 0b643ebc..95610ee9 100644 --- a/Game/Code/Screens/UScreenSongJumpto.pas +++ b/Game/Code/Screens/UScreenSongJumpto.pas @@ -54,6 +54,30 @@ begin end; end; + //MP3-Volume Up + SDLK_PAGEUP: + begin + if (ScreenSong.MP3Volume<100) then + begin + ScreenSong.MP3Volume := ScreenSong.MP3Volume+5; + Music.SetMusicVolume(ScreenSong.MP3Volume); + end; + ScreenSong.MP3VolumeHandler.changed := true; + ScreenSong.MP3VolumeHandler.change_time := 0; + end; + + //MP3-Volume Down + SDLK_PAGEDOWN: + begin + if (ScreenSong.MP3Volume>0) then + begin + ScreenSong.MP3Volume := ScreenSong.MP3Volume-5; + Music.SetMusicVolume(ScreenSong.MP3Volume); + end; + ScreenSong.MP3VolumeHandler.changed := true; + ScreenSong.MP3VolumeHandler.change_time := 0; + end; + SDLK_TAB: begin ScreenPopupHelp.ShowPopup(); -- cgit v1.2.3