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