protected override void LoadComplete() { base.LoadComplete(); AddInternal(ratioContainer = new RatioAdjust { Children = new Drawable[] { new Container { AlwaysReceiveInput = true, RelativeSizeAxes = Axes.Both, Depth = float.MinValue, Children = new Drawable[] { Cursor = new MenuCursor(), new TooltipContainer(Cursor) { Depth = -1 }, } }, } }); // TODO: This is temporary until we reimplement the local FPS display. // It's just to allow end-users to access the framework FPS display without knowing the shortcut key. fpsDisplayVisible = LocalConfig.GetBindable <bool>(OsuConfig.ShowFpsDisplay); fpsDisplayVisible.ValueChanged += val => { FrameStatisticsMode = val ? FrameStatisticsMode.Minimal : FrameStatisticsMode.None; }; fpsDisplayVisible.TriggerChange(); }
protected override void LoadComplete() { base.LoadComplete(); AddInternal(ratioContainer = new RatioAdjust { Children = new Drawable[] { new Container { AlwaysReceiveInput = true, RelativeSizeAxes = Axes.Both, Depth = float.MinValue, Children = new Drawable[] { Cursor = new MenuCursor(), new TooltipContainer(Cursor) { Depth = -1 }, } }, } }); }
public OsuGameBase() { AddInternal(ratioContainer = new RatioAdjust()); Children = new Drawable[] { Options = new Options(), Cursor = new OsuCursorContainer() }; }
public OsuGameBase() { AddInternal(ratioContainer = new RatioAdjust()); Children = new Drawable[] { Cursor = new OsuCursorContainer { Depth = float.MaxValue } }; Beatmap.ValueChanged += Beatmap_ValueChanged; }
protected override void LoadComplete() { base.LoadComplete(); AddInternal(ratioContainer = new RatioAdjust { Children = new[] { Cursor = new MenuCursor { Depth = float.MinValue } } }); }