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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user