mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
More xmldoc and few Title text fixes
This commit is contained in:
parent
b5a6d73104
commit
743dfcc130
@ -50,7 +50,7 @@ namespace osu.Desktop.VisualTests.Tests
|
||||
|
||||
private class ExampleContainer : SettingsDropdownContainer
|
||||
{
|
||||
public override string Title => @"EXAMPLE";
|
||||
protected override string Title => @"example";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,9 +14,9 @@ namespace osu.Game.Graphics.UserInterface
|
||||
public abstract class SettingsDropdownContainer : Container
|
||||
{
|
||||
/// <summary>
|
||||
/// The title of this container.
|
||||
/// The title of this container, which will be written in header.
|
||||
/// </summary>
|
||||
public abstract string Title { get; }
|
||||
protected abstract string Title { get; }
|
||||
|
||||
private const float transition_duration = 600;
|
||||
private const int container_width = 270;
|
||||
@ -70,7 +70,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
Origin = Anchor.CentreLeft,
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Text = Title,
|
||||
Text = Title.ToUpper(),
|
||||
TextSize = 17,
|
||||
Font = @"Exo2.0-Bold",
|
||||
Margin = new MarginPadding { Left = 10 },
|
||||
|
@ -12,7 +12,7 @@ namespace osu.Game.Screens.Play.ReplaySettings
|
||||
{
|
||||
public class CollectionSettings : SettingsDropdownContainer
|
||||
{
|
||||
public override string Title => @"COLLECTIONS";
|
||||
protected override string Title => @"collections";
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
|
@ -11,7 +11,7 @@ namespace osu.Game.Screens.Play.ReplaySettings
|
||||
{
|
||||
public class DiscussionSettings : SettingsDropdownContainer
|
||||
{
|
||||
public override string Title => @"DISCUSSIONS";
|
||||
protected override string Title => @"discussions";
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config)
|
||||
|
@ -10,7 +10,7 @@ namespace osu.Game.Screens.Play.ReplaySettings
|
||||
{
|
||||
public class PlaybackSettings : SettingsDropdownContainer
|
||||
{
|
||||
public override string Title => @"PLAYBACK";
|
||||
protected override string Title => @"playback";
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config)
|
||||
|
@ -16,6 +16,9 @@ namespace osu.Game.Screens.Play.ReplaySettings
|
||||
private bool isVisible;
|
||||
|
||||
private bool isAvaliable;
|
||||
/// <summary>
|
||||
/// Allow user to interact with this overlay.
|
||||
/// </summary>
|
||||
public bool IsAvaliable
|
||||
{
|
||||
set
|
||||
|
Loading…
Reference in New Issue
Block a user