Update References to FlowStrategies

References now use the Create*-names instead of the outdated
Get*-names to create instances of FlowStrategies.
This commit is contained in:
default0
2017-02-27 16:55:55 +01:00
parent 0d1dec665a
commit 03889e6ca6
34 changed files with 50 additions and 50 deletions

View File

@ -21,7 +21,7 @@ namespace osu.Game.Graphics.UserInterface
{
new FlowContainer
{
FlowStrategy = FlowStrategies.GetHorizontalFlow(),
FlowStrategy = FlowStrategies.CreateHorizontalFlow(),
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Children = new Drawable[]

View File

@ -73,7 +73,7 @@ namespace osu.Game.Graphics.UserInterface
stars = new FlowContainer<Star>
{
AutoSizeAxes = Axes.Both,
FlowStrategy = FlowStrategies.GetHorizontalFlow(new Vector2(star_spacing)),
FlowStrategy = FlowStrategies.CreateHorizontalFlow(new Vector2(star_spacing)),
}
};

View File

@ -39,7 +39,7 @@ namespace osu.Game.Graphics.UserInterface.Volume
Anchor = Anchor.BottomRight,
Origin = Anchor.BottomRight,
Margin = new MarginPadding { Left = 10, Right = 10, Top = 30, Bottom = 30 },
FlowStrategy = FlowStrategies.GetFillFlow(new Vector2(15, 0)),
FlowStrategy = FlowStrategies.CreateFillFlow(new Vector2(15, 0)),
Children = new Drawable[]
{
volumeMeterMaster = new VolumeMeter("Master"),