diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2016-01-03 21:19:22 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2016-01-03 21:19:22 +0000 |
commit | ef2635e32aae14d6782cc360318917239e721dad (patch) | |
tree | 78875b19fd883fdbc2d62e3c5a0af4f2373f564f | |
parent | 697c060de8ee6266d289d60e03e0dd5d0f395b68 (diff) | |
download | usdx-ef2635e32aae14d6782cc360318917239e721dad.tar.gz usdx-ef2635e32aae14d6782cc360318917239e721dad.tar.xz usdx-ef2635e32aae14d6782cc360318917239e721dad.zip |
change and prepare options screen
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3186 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | src/screens/UScreenOptions.pas | 40 |
1 files changed, 39 insertions, 1 deletions
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; |