Improved appearance of tabs.

- Replaced 'selection-tab.png' with a new image (by @kouyang).
- Simulate osu! color scheme (tab color/font color changes instead of alpha changes for selected tab).
- Added Utils.drawTab() method to avoid code duplication for Option menu tabs.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-01-10 22:49:23 -05:00
parent 1e59819f3a
commit 6e434e9709
5 changed files with 52 additions and 28 deletions

View File

@@ -254,7 +254,12 @@ public class SongMenu extends BasicGameState {
optionsButton.draw();
// sorting tabs
SongSort.drawAll();
SongSort currentSort = SongSort.getSort();
for (SongSort sort : SongSort.VALUES_REVERSED) {
if (sort != currentSort)
sort.draw(false);
}
currentSort.draw(true);
// search
Image searchIcon = GameImage.MENU_SEARCH.getImage();