private void load(OsuColour colours, IAPIProvider api) { api.Register(this); Children = new Drawable[] { new Container { RelativeSizeAxes = Axes.Both, EdgeEffect = new EdgeEffectParameters { Type = EdgeEffectType.Shadow, Radius = 5, Colour = Color4.Black.Opacity(0.2f), }, Masking = true, CornerRadius = 10, Children = new Drawable[] { new Box { RelativeSizeAxes = Axes.Both, Colour = Color4.Black, Alpha = 0.6f, }, new DelayedLoadWrapper(new AccountCreationBackground(), 0), new Container { RelativeSizeAxes = Axes.Both, Width = 0.6f, AutoSizeDuration = transition_time, AutoSizeEasing = Easing.OutQuint, Children = new Drawable[] { new Box { RelativeSizeAxes = Axes.Both, Colour = Color4.Black, Alpha = 0.9f, }, new ScreenStack(welcomeScreen = new ScreenWelcome()) { RelativeSizeAxes = Axes.Both, }, } } } } }; }
private void load(IAPIProvider api, LoginOverlay login) { api.Register(this); StateContainer = login; }
private void load(IAPIProvider api) { this.api = api; api.Register(this); }
private void load(IAPIProvider api) { api.Register(this); }