diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-03-18 17:56:04 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-03-18 17:56:04 +0000 |
commit | 517d37a95f797204758f54607969a56761b4a0db (patch) | |
tree | 99b6b438f6dc1f3063769935874356facd661ead /src/base | |
parent | ffd76ba736eb429e7b79891f288b35fdde472e53 (diff) | |
download | usdx-517d37a95f797204758f54607969a56761b4a0db.tar.gz usdx-517d37a95f797204758f54607969a56761b4a0db.tar.xz usdx-517d37a95f797204758f54607969a56761b4a0db.zip |
some changes to "Select Slides"
- read ShowArrows and OneItemOnly from theme
- use constants for arrows alpha value
- fix arrows if select has only one possible option
- draw colorized selects like colorized buttons (2nd "deselect" texture)
=> a uniform look for option menus is possible again
option screens that need some theme editing:
sound, lyrics, themes, record, advanced
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2205 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/UThemes.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/UThemes.pas b/src/base/UThemes.pas index 2ecaa9f4..582f34e8 100644 --- a/src/base/UThemes.pas +++ b/src/base/UThemes.pas @@ -1822,6 +1822,9 @@ begin ThemeSelectS.STInt := ThemeIni.ReadFloat(Name, 'STInt', 1); LoadColor(ThemeSelectS.STDColR, ThemeSelectS.STDColG, ThemeSelectS.STDColB, ThemeIni.ReadString(Name, 'STDColor', '')); ThemeSelectS.STDInt := ThemeIni.ReadFloat(Name, 'STDInt', 1); + + ThemeSelectS.showArrows := (ThemeIni.ReadInteger(Name, 'ShowArrows', 0) = 1); + ThemeSelectS.oneItemOnly := (ThemeIni.ReadInteger(Name, 'OneItemOnly', 0) = 1); end; procedure TTheme.ThemeLoadEqualizer(var ThemeEqualizer: TThemeEqualizer; const Name: string); |