Implement notifications.

This commit is contained in:
Dean Herbert
2017-02-10 16:26:43 +09:00
parent 60e206e587
commit 8ec927899f
17 changed files with 1033 additions and 9 deletions

View File

@ -17,6 +17,7 @@ namespace osu.Game.Overlays.Toolbar
public class Toolbar : OverlayContainer
{
public const float HEIGHT = 40;
public const float TOOLTIP_HEIGHT = 30;
public Action OnHome;
public Action<PlayMode> OnPlayModeChange;
@ -73,10 +74,7 @@ namespace osu.Game.Overlays.Toolbar
Icon = FontAwesome.fa_search
},
userArea = new ToolbarUserArea(),
new ToolbarButton
{
Icon = FontAwesome.fa_bars
},
new ToolbarNotificationButton(),
}
}
};