Merge branch 'refs/heads/master' into dependency-injection

# Conflicts:
#	osu-framework
#	osu.Game/GameModes/OsuGameMode.cs
#	osu.Game/GameModes/Play/Player.cs
#	osu.Game/OsuGame.cs
#	osu.Game/Overlays/MusicController.cs
#	osu.Game/Overlays/Options/EditorSection.cs
#	osu.Game/Overlays/Options/Input/MouseOptions.cs
#	osu.Game/Overlays/Options/Online/InGameChatOptions.cs
#	osu.Game/Overlays/Options/SkinSection.cs
This commit is contained in:
Dean Herbert
2016-11-12 19:44:16 +09:00
82 changed files with 688 additions and 328 deletions

View File

@ -61,8 +61,8 @@ namespace osu.Game.Graphics.UserInterface
Name = name;
}
[Initializer]
private void Load(TextureStore textures)
[BackgroundDependencyLoader]
private void load(TextureStore textures)
{
Children = new Drawable[]
{

View File

@ -120,8 +120,8 @@ namespace osu.Game.Graphics.UserInterface
AutoSizeAxes = Axes.Both;
}
[Initializer]
private void Load()
[BackgroundDependencyLoader]
private void load()
{
DisplayedCount = Count;

View File

@ -110,8 +110,8 @@ namespace osu.Game.Graphics.UserInterface
};
}
[Initializer]
private void Load()
[BackgroundDependencyLoader]
private void load()
{
starContainer.Width = MaxStars * StarSize + Math.Max(MaxStars - 1, 0) * StarSpacing;
starContainer.Height = StarSize;

View File

@ -33,8 +33,8 @@ namespace osu.Game.Graphics.UserInterface.Volume
Origin = Anchor.BottomRight;
}
[Initializer]
private void Load()
[BackgroundDependencyLoader]
private void load()
{
VolumeGlobal.ValueChanged += volumeChanged;
VolumeSample.ValueChanged += volumeChanged;