diff options
author | rubidium <rubidium@openttd.org> | 2009-03-25 14:15:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-25 14:15:34 +0000 |
commit | 3e979be390d17113271be18a98e7f47182d6aa76 (patch) | |
tree | ef56c00f65c24b2d240876739a589b4b59f7fbfd | |
parent | 27714cacc5be8a9ecd79e421272fcff51b512f5f (diff) | |
download | openttd-3e979be390d17113271be18a98e7f47182d6aa76.tar.xz |
(svn r15846) -Fix: shuffle button text alignment was based on the wrong widget
-rw-r--r-- | src/music_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/music_gui.cpp b/src/music_gui.cpp index 3861de4cd..40ff45cd3 100644 --- a/src/music_gui.cpp +++ b/src/music_gui.cpp @@ -432,8 +432,8 @@ public: DrawString(this->widget[i + MW_ALL].left, this->widget[i + MW_ALL].right, 59, STR_01D5_ALL + i, msf.playlist == i ? TC_WHITE : TC_BLACK, SA_CENTER); } - DrawString(this->widget[MW_NEXT].left, this->widget[MW_NEXT].right, 43, STR_01E9_SHUFFLE, (msf.shuffle ? TC_WHITE : TC_BLACK), SA_CENTER); - DrawString(this->widget[MW_PROGRAMME].left, this->widget[MW_PROGRAMME].right, 43, STR_01EA_PROGRAM, TC_FROMSTRING, SA_CENTER); + DrawString(this->widget[MW_SHUFFLE].left, this->widget[MW_SHUFFLE].right, this->widget[MW_SHUFFLE].top + 1, STR_01E9_SHUFFLE, (msf.shuffle ? TC_WHITE : TC_BLACK), SA_CENTER); + DrawString(this->widget[MW_PROGRAMME].left, this->widget[MW_PROGRAMME].right, this->widget[MW_PROGRAMME].top + 1, STR_01EA_PROGRAM, TC_FROMSTRING, SA_CENTER); DrawString(108, 174, 15, STR_01DB_MUSIC_VOLUME, TC_FROMSTRING, SA_CENTER); DrawString(108, 174, 29, STR_01DD_MIN_MAX, TC_FROMSTRING, SA_CENTER); DrawString(214, 280, 15, STR_01DC_EFFECTS_VOLUME, TC_FROMSTRING, SA_CENTER); |