From ef2635e32aae14d6782cc360318917239e721dad Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sun, 3 Jan 2016 21:19:22 +0000 Subject: change and prepare options screen git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3186 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/screens/UScreenOptions.pas | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/src/screens/UScreenOptions.pas b/src/screens/UScreenOptions.pas index 30e3e9c4..ebd81cca 100644 --- a/src/screens/UScreenOptions.pas +++ b/src/screens/UScreenOptions.pas @@ -132,6 +132,31 @@ begin if SelInteraction = 7 then begin +{ + if (High(DataBase.NetworkUser) = -1) then + ScreenPopupError.ShowPopup(Language.Translate('SING_OPTIONS_NETWORK_NO_DLL')) + else + begin + AudioPlayback.PlaySound(SoundLib.Back); + FadeTo(@ScreenOptionsNetwork); + end; +} + end; + + if SelInteraction = 8 then + begin + AudioPlayback.PlaySound(SoundLib.Back); +// disabled for now FadeTo(@ScreenOptionsWebcam); + end; + + if SelInteraction = 9 then + begin + AudioPlayback.PlaySound(SoundLib.Start); +// disabled for now FadeTo(@ScreenOptionsJukebox); + end; + + if SelInteraction = 10 then + begin Ini.Save; AudioPlayback.PlaySound(SoundLib.Back); FadeTo(@ScreenMain); @@ -180,10 +205,23 @@ begin AddButton(Theme.Options.ButtonAdvanced); if (Length(Button[6].Text)=0) then AddButtonText(14, 20, Theme.Options.Description[6]); +{ + AddButton(Theme.Options.ButtonNetwork); + if (Length(Button[7].Text)=0) then + AddButtonText(14, 20, Theme.Options.Description[7]); + + AddButton(Theme.Options.ButtonWebcam); + if (Length(Button[8].Text)=0) then + AddButtonText(14, 20, Theme.Options.Description[8]); + AddButton(Theme.Options.ButtonJukebox); + if (Length(Button[9].Text)=0) then + AddButtonText(14, 20, Theme.Options.Description[9]); +} AddButton(Theme.Options.ButtonExit); if (Length(Button[7].Text)=0) then - AddButtonText(14, 20, Theme.Options.Description[7]); +// if (Length(Button[10].Text)=0) then + AddButtonText(14, 20, Theme.Options.Description[10]); Interaction := 0; end; -- cgit v1.2.3