mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Partial everything
This commit is contained in:
committed by
Dean Herbert
parent
a1c559ae05
commit
7bc8908ca9
@ -14,7 +14,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Audio
|
||||
{
|
||||
public class AudioDevicesSettings : SettingsSubsection
|
||||
public partial class AudioDevicesSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => AudioSettingsStrings.AudioDevicesHeader;
|
||||
|
||||
@ -77,11 +77,11 @@ namespace osu.Game.Overlays.Settings.Sections.Audio
|
||||
}
|
||||
}
|
||||
|
||||
private class AudioDeviceSettingsDropdown : SettingsDropdown<string>
|
||||
private partial class AudioDeviceSettingsDropdown : SettingsDropdown<string>
|
||||
{
|
||||
protected override OsuDropdown<string> CreateDropdown() => new AudioDeviceDropdownControl();
|
||||
|
||||
private class AudioDeviceDropdownControl : DropdownControl
|
||||
private partial class AudioDeviceDropdownControl : DropdownControl
|
||||
{
|
||||
protected override LocalisableString GenerateItemText(string item)
|
||||
=> string.IsNullOrEmpty(item) ? CommonStrings.Default : base.GenerateItemText(item);
|
||||
|
@ -14,7 +14,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Audio
|
||||
{
|
||||
public class OffsetSettings : SettingsSubsection
|
||||
public partial class OffsetSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => AudioSettingsStrings.OffsetHeader;
|
||||
|
||||
|
@ -13,7 +13,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Audio
|
||||
{
|
||||
public class VolumeSettings : SettingsSubsection
|
||||
public partial class VolumeSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => AudioSettingsStrings.VolumeHeader;
|
||||
|
||||
@ -54,7 +54,7 @@ namespace osu.Game.Overlays.Settings.Sections.Audio
|
||||
};
|
||||
}
|
||||
|
||||
private class VolumeAdjustSlider : SettingsSlider<double>
|
||||
private partial class VolumeAdjustSlider : SettingsSlider<double>
|
||||
{
|
||||
protected override Drawable CreateControl()
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ using osu.Game.Overlays.Settings.Sections.Audio;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class AudioSection : SettingsSection
|
||||
public partial class AudioSection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => AudioSettingsStrings.AudioSectionHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Overlays.Settings.Sections.DebugSettings;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class DebugSection : SettingsSection
|
||||
public partial class DebugSection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => DebugSettingsStrings.DebugSectionHeader;
|
||||
|
||||
|
@ -15,7 +15,7 @@ using osu.Game.Screens.Utility;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.DebugSettings
|
||||
{
|
||||
public class GeneralSettings : SettingsSubsection
|
||||
public partial class GeneralSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => DebugSettingsStrings.GeneralHeader;
|
||||
|
||||
|
@ -16,7 +16,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.DebugSettings
|
||||
{
|
||||
public class MemorySettings : SettingsSubsection
|
||||
public partial class MemorySettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => DebugSettingsStrings.MemoryHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
public class AudioSettings : SettingsSubsection
|
||||
public partial class AudioSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GameplaySettingsStrings.AudioHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
public class BackgroundSettings : SettingsSubsection
|
||||
public partial class BackgroundSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GameplaySettingsStrings.BackgroundHeader;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
public class BeatmapSettings : SettingsSubsection
|
||||
public partial class BeatmapSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GameplaySettingsStrings.BeatmapHeader;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Rulesets.Scoring;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
public class GeneralSettings : SettingsSubsection
|
||||
public partial class GeneralSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GameplaySettingsStrings.GeneralHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
public class HUDSettings : SettingsSubsection
|
||||
public partial class HUDSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GameplaySettingsStrings.HUDHeader;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
public class InputSettings : SettingsSubsection
|
||||
public partial class InputSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GameplaySettingsStrings.InputHeader;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
||||
{
|
||||
public class ModsSettings : SettingsSubsection
|
||||
public partial class ModsSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GameplaySettingsStrings.ModsHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Overlays.Settings.Sections.Gameplay;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class GameplaySection : SettingsSection
|
||||
public partial class GameplaySection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => GameplaySettingsStrings.GameplaySectionHeader;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.General
|
||||
{
|
||||
public class LanguageSettings : SettingsSubsection
|
||||
public partial class LanguageSettings : SettingsSubsection
|
||||
{
|
||||
private SettingsDropdown<Language> languageSelection = null!;
|
||||
private Bindable<string> frameworkLocale = null!;
|
||||
|
@ -19,7 +19,7 @@ using osu.Game.Updater;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.General
|
||||
{
|
||||
public class UpdateSettings : SettingsSubsection
|
||||
public partial class UpdateSettings : SettingsSubsection
|
||||
{
|
||||
[Resolved(CanBeNull = true)]
|
||||
private UpdateManager updateManager { get; set; }
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Overlays.Settings.Sections.General;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class GeneralSection : SettingsSection
|
||||
public partial class GeneralSection : SettingsSection
|
||||
{
|
||||
[Resolved(CanBeNull = true)]
|
||||
private FirstRunSetupOverlay firstRunSetupOverlay { get; set; }
|
||||
|
@ -25,7 +25,7 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
{
|
||||
public class LayoutSettings : SettingsSubsection
|
||||
public partial class LayoutSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GraphicsSettingsStrings.LayoutHeader;
|
||||
|
||||
@ -324,7 +324,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
|
||||
private class ScalingPreview : ScalingContainer
|
||||
private partial class ScalingPreview : ScalingContainer
|
||||
{
|
||||
public ScalingPreview()
|
||||
{
|
||||
@ -337,16 +337,16 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
}
|
||||
}
|
||||
|
||||
private class UIScaleSlider : OsuSliderBar<float>
|
||||
private partial class UIScaleSlider : OsuSliderBar<float>
|
||||
{
|
||||
public override LocalisableString TooltipText => base.TooltipText + "x";
|
||||
}
|
||||
|
||||
private class DisplaySettingsDropdown : SettingsDropdown<Display>
|
||||
private partial class DisplaySettingsDropdown : SettingsDropdown<Display>
|
||||
{
|
||||
protected override OsuDropdown<Display> CreateDropdown() => new DisplaySettingsDropdownControl();
|
||||
|
||||
private class DisplaySettingsDropdownControl : DropdownControl
|
||||
private partial class DisplaySettingsDropdownControl : DropdownControl
|
||||
{
|
||||
protected override LocalisableString GenerateItemText(Display item)
|
||||
{
|
||||
@ -355,11 +355,11 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
}
|
||||
}
|
||||
|
||||
private class ResolutionSettingsDropdown : SettingsDropdown<Size>
|
||||
private partial class ResolutionSettingsDropdown : SettingsDropdown<Size>
|
||||
{
|
||||
protected override OsuDropdown<Size> CreateDropdown() => new ResolutionDropdownControl();
|
||||
|
||||
private class ResolutionDropdownControl : DropdownControl
|
||||
private partial class ResolutionDropdownControl : DropdownControl
|
||||
{
|
||||
protected override LocalisableString GenerateItemText(Size item)
|
||||
{
|
||||
|
@ -13,7 +13,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
{
|
||||
public class RendererSettings : SettingsSubsection
|
||||
public partial class RendererSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GraphicsSettingsStrings.RendererHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
{
|
||||
public class ScreenshotSettings : SettingsSubsection
|
||||
public partial class ScreenshotSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GraphicsSettingsStrings.Screenshots;
|
||||
|
||||
|
@ -13,7 +13,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
{
|
||||
public class VideoSettings : SettingsSubsection
|
||||
public partial class VideoSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => GraphicsSettingsStrings.VideoHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Overlays.Settings.Sections.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class GraphicsSection : SettingsSection
|
||||
public partial class GraphicsSection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => GraphicsSettingsStrings.GraphicsSectionHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class BindingSettings : SettingsSubsection
|
||||
public partial class BindingSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => BindingSettingsStrings.ShortcutAndGameplayBindings;
|
||||
|
||||
|
@ -9,7 +9,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class GlobalKeyBindingsSection : SettingsSection
|
||||
public partial class GlobalKeyBindingsSection : SettingsSection
|
||||
{
|
||||
public override Drawable CreateIcon() => new SpriteIcon
|
||||
{
|
||||
@ -28,7 +28,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
Add(new EditorKeyBindingsSubsection(manager));
|
||||
}
|
||||
|
||||
private class DefaultBindingsSubsection : KeyBindingsSubsection
|
||||
private partial class DefaultBindingsSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => string.Empty;
|
||||
|
||||
@ -39,7 +39,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
private class OverlayBindingsSubsection : KeyBindingsSubsection
|
||||
private partial class OverlayBindingsSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => InputSettingsStrings.OverlaysSection;
|
||||
|
||||
@ -50,7 +50,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
private class SongSelectKeyBindingSubsection : KeyBindingsSubsection
|
||||
private partial class SongSelectKeyBindingSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => InputSettingsStrings.SongSelectSection;
|
||||
|
||||
@ -61,7 +61,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
private class InGameKeyBindingsSubsection : KeyBindingsSubsection
|
||||
private partial class InGameKeyBindingsSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => InputSettingsStrings.InGameSection;
|
||||
|
||||
@ -72,7 +72,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
private class AudioControlKeyBindingsSubsection : KeyBindingsSubsection
|
||||
private partial class AudioControlKeyBindingsSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => InputSettingsStrings.AudioSection;
|
||||
|
||||
@ -83,7 +83,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
private class EditorKeyBindingsSubsection : KeyBindingsSubsection
|
||||
private partial class EditorKeyBindingsSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => InputSettingsStrings.EditorSection;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class JoystickSettings : SettingsSubsection
|
||||
public partial class JoystickSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => JoystickSettingsStrings.JoystickGamepad;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Rulesets;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class KeyBindingPanel : SettingsSubPanel
|
||||
public partial class KeyBindingPanel : SettingsSubPanel
|
||||
{
|
||||
protected override Drawable CreateHeader() => new SettingsHeader(InputSettingsStrings.KeyBindingPanelHeader, InputSettingsStrings.KeyBindingPanelDescription);
|
||||
|
||||
|
@ -31,7 +31,7 @@ using osuTK.Input;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class KeyBindingRow : Container, IFilterable
|
||||
public partial class KeyBindingRow : Container, IFilterable
|
||||
{
|
||||
/// <summary>
|
||||
/// Invoked when the binding of this row is updated with a change being written.
|
||||
@ -446,7 +446,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
isDefault.Value = bindings.Select(b => b.KeyCombination).SequenceEqual(Defaults);
|
||||
}
|
||||
|
||||
private class CancelButton : TriangleButton
|
||||
private partial class CancelButton : TriangleButton
|
||||
{
|
||||
public CancelButton()
|
||||
{
|
||||
@ -455,7 +455,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
public class ClearButton : DangerousTriangleButton
|
||||
public partial class ClearButton : DangerousTriangleButton
|
||||
{
|
||||
public ClearButton()
|
||||
{
|
||||
@ -464,7 +464,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
public class KeyButton : Container
|
||||
public partial class KeyButton : Container
|
||||
{
|
||||
public readonly RealmKeyBinding KeyBinding;
|
||||
|
||||
|
@ -17,7 +17,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public abstract class KeyBindingsSubsection : SettingsSubsection
|
||||
public abstract partial class KeyBindingsSubsection : SettingsSubsection
|
||||
{
|
||||
/// <summary>
|
||||
/// After a successful binding, automatically select the next binding row to make quickly
|
||||
@ -77,7 +77,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
public class ResetButton : DangerousSettingsButton
|
||||
public partial class ResetButton : DangerousSettingsButton
|
||||
{
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
|
@ -17,7 +17,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class MouseSettings : SettingsSubsection
|
||||
public partial class MouseSettings : SettingsSubsection
|
||||
{
|
||||
private readonly MouseHandler mouseHandler;
|
||||
|
||||
@ -126,7 +126,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}, true);
|
||||
}
|
||||
|
||||
public class SensitivitySetting : SettingsSlider<double, SensitivitySlider>
|
||||
public partial class SensitivitySetting : SettingsSlider<double, SensitivitySlider>
|
||||
{
|
||||
public SensitivitySetting()
|
||||
{
|
||||
@ -135,7 +135,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}
|
||||
}
|
||||
|
||||
public class SensitivitySlider : OsuSliderBar<double>
|
||||
public partial class SensitivitySlider : OsuSliderBar<double>
|
||||
{
|
||||
public override LocalisableString TooltipText => Current.Disabled ? MouseSettingsStrings.EnableHighPrecisionForSensitivityAdjust : $"{base.TooltipText}x";
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ using osu.Game.Graphics.UserInterfaceV2;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
internal class RotationPresetButtons : CompositeDrawable
|
||||
internal partial class RotationPresetButtons : CompositeDrawable
|
||||
{
|
||||
public new MarginPadding Padding
|
||||
{
|
||||
@ -86,7 +86,7 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
}, true);
|
||||
}
|
||||
|
||||
public class RotationButton : RoundedButton
|
||||
public partial class RotationButton : RoundedButton
|
||||
{
|
||||
[Resolved]
|
||||
private OsuColour colours { get; set; }
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Rulesets;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class RulesetBindingsSection : SettingsSection
|
||||
public partial class RulesetBindingsSection : SettingsSection
|
||||
{
|
||||
public override Drawable CreateIcon() => ruleset?.CreateInstance().CreateIcon() ?? new SpriteIcon
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class TabletAreaSelection : CompositeDrawable
|
||||
public partial class TabletAreaSelection : CompositeDrawable
|
||||
{
|
||||
public bool IsWithinBounds { get; private set; }
|
||||
|
||||
|
@ -21,7 +21,7 @@ using osu.Game.Online.Chat;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class TabletSettings : SettingsSubsection
|
||||
public partial class TabletSettings : SettingsSubsection
|
||||
{
|
||||
public TabletAreaSelection AreaSelection { get; private set; }
|
||||
|
||||
|
@ -6,7 +6,7 @@ using osu.Game.Rulesets;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
public class VariantBindingsSubsection : KeyBindingsSubsection
|
||||
public partial class VariantBindingsSubsection : KeyBindingsSubsection
|
||||
{
|
||||
protected override bool AutoAdvanceTarget => true;
|
||||
|
||||
|
@ -14,7 +14,7 @@ using osu.Game.Overlays.Settings.Sections.Input;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class InputSection : SettingsSection
|
||||
public partial class InputSection : SettingsSection
|
||||
{
|
||||
private readonly KeyBindingPanel keyConfig;
|
||||
|
||||
@ -47,7 +47,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
}
|
||||
}
|
||||
|
||||
public class HandlerSection : SettingsSubsection
|
||||
public partial class HandlerSection : SettingsSubsection
|
||||
{
|
||||
private readonly InputHandler handler;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class BeatmapSettings : SettingsSubsection
|
||||
public partial class BeatmapSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => CommonStrings.Beatmaps;
|
||||
|
||||
|
@ -10,7 +10,7 @@ using osu.Game.Overlays.Notifications;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class CollectionsSettings : SettingsSubsection
|
||||
public partial class CollectionsSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => CommonStrings.Collections;
|
||||
|
||||
|
@ -20,7 +20,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public abstract class DirectorySelectScreen : OsuScreen
|
||||
public abstract partial class DirectorySelectScreen : OsuScreen
|
||||
{
|
||||
private TriangleButton selectionButton;
|
||||
|
||||
|
@ -6,7 +6,7 @@ using osu.Game.Overlays.Dialog;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class MassDeleteConfirmationDialog : DeleteConfirmationDialog
|
||||
public partial class MassDeleteConfirmationDialog : DeleteConfirmationDialog
|
||||
{
|
||||
public MassDeleteConfirmationDialog(Action deleteAction)
|
||||
{
|
||||
|
@ -5,7 +5,7 @@ using System;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class MassVideoDeleteConfirmationDialog : MassDeleteConfirmationDialog
|
||||
public partial class MassVideoDeleteConfirmationDialog : MassDeleteConfirmationDialog
|
||||
{
|
||||
public MassVideoDeleteConfirmationDialog(Action deleteAction)
|
||||
: base(deleteAction)
|
||||
|
@ -22,7 +22,7 @@ using osuTK;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class MigrationRunScreen : OsuScreen
|
||||
public partial class MigrationRunScreen : OsuScreen
|
||||
{
|
||||
private readonly DirectoryInfo destination;
|
||||
|
||||
|
@ -17,7 +17,7 @@ using osu.Game.Overlays.Dialog;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class MigrationSelectScreen : DirectorySelectScreen
|
||||
public partial class MigrationSelectScreen : DirectorySelectScreen
|
||||
{
|
||||
[Resolved]
|
||||
private Storage storage { get; set; }
|
||||
|
@ -14,7 +14,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class ModPresetSettings : SettingsSubsection
|
||||
public partial class ModPresetSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => CommonStrings.ModPresets;
|
||||
|
||||
|
@ -10,7 +10,7 @@ using osu.Game.Scoring;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class ScoreSettings : SettingsSubsection
|
||||
public partial class ScoreSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => CommonStrings.Scores;
|
||||
|
||||
|
@ -10,7 +10,7 @@ using osu.Game.Skinning;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class SkinSettings : SettingsSubsection
|
||||
public partial class SkinSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => CommonStrings.Skins;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Screens;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class StableDirectoryLocationDialog : PopupDialog
|
||||
public partial class StableDirectoryLocationDialog : PopupDialog
|
||||
{
|
||||
[Resolved]
|
||||
private IPerformFromScreenRunner performer { get; set; }
|
||||
|
@ -11,7 +11,7 @@ using osu.Framework.Screens;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
{
|
||||
public class StableDirectorySelectScreen : DirectorySelectScreen
|
||||
public partial class StableDirectorySelectScreen : DirectorySelectScreen
|
||||
{
|
||||
private readonly TaskCompletionSource<string> taskCompletionSource;
|
||||
|
||||
|
@ -9,7 +9,7 @@ using osu.Game.Overlays.Settings.Sections.Maintenance;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class MaintenanceSection : SettingsSection
|
||||
public partial class MaintenanceSection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => MaintenanceSettingsStrings.MaintenanceSectionHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Online
|
||||
{
|
||||
public class AlertsAndPrivacySettings : SettingsSubsection
|
||||
public partial class AlertsAndPrivacySettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => OnlineSettingsStrings.AlertsAndPrivacyHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Online
|
||||
{
|
||||
public class IntegrationSettings : SettingsSubsection
|
||||
public partial class IntegrationSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => OnlineSettingsStrings.IntegrationsHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.Online
|
||||
{
|
||||
public class WebSettings : SettingsSubsection
|
||||
public partial class WebSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => OnlineSettingsStrings.WebHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Overlays.Settings.Sections.Online;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class OnlineSection : SettingsSection
|
||||
public partial class OnlineSection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => OnlineSettingsStrings.OnlineSectionHeader;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Rulesets;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class RulesetSection : SettingsSection
|
||||
public partial class RulesetSection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => RulesetSettingsStrings.Rulesets;
|
||||
|
||||
|
@ -13,7 +13,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
/// <summary>
|
||||
/// A slider intended to show a "size" multiplier number, where 1x is 1.0.
|
||||
/// </summary>
|
||||
public class SizeSlider<T> : OsuSliderBar<T>
|
||||
public partial class SizeSlider<T> : OsuSliderBar<T>
|
||||
where T : struct, IEquatable<T>, IComparable<T>, IConvertible, IFormattable
|
||||
{
|
||||
public override LocalisableString TooltipText => Current.Value.ToString(@"0.##x", NumberFormatInfo.CurrentInfo);
|
||||
|
@ -24,7 +24,7 @@ using Realms;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class SkinSection : SettingsSection
|
||||
public partial class SkinSection : SettingsSection
|
||||
{
|
||||
private SkinSettingsDropdown skinDropdown;
|
||||
|
||||
@ -123,17 +123,17 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
realmSubscription?.Dispose();
|
||||
}
|
||||
|
||||
private class SkinSettingsDropdown : SettingsDropdown<Live<SkinInfo>>
|
||||
private partial class SkinSettingsDropdown : SettingsDropdown<Live<SkinInfo>>
|
||||
{
|
||||
protected override OsuDropdown<Live<SkinInfo>> CreateDropdown() => new SkinDropdownControl();
|
||||
|
||||
private class SkinDropdownControl : DropdownControl
|
||||
private partial class SkinDropdownControl : DropdownControl
|
||||
{
|
||||
protected override LocalisableString GenerateItemText(Live<SkinInfo> item) => item.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
public class ExportSkinButton : SettingsButton
|
||||
public partial class ExportSkinButton : SettingsButton
|
||||
{
|
||||
[Resolved]
|
||||
private SkinManager skins { get; set; }
|
||||
@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
}
|
||||
}
|
||||
|
||||
public class DeleteSkinButton : DangerousSettingsButton
|
||||
public partial class DeleteSkinButton : DangerousSettingsButton
|
||||
{
|
||||
[Resolved]
|
||||
private SkinManager skins { get; set; }
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Localisation;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.UserInterface
|
||||
{
|
||||
public class GeneralSettings : SettingsSubsection
|
||||
public partial class GeneralSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => UserInterfaceStrings.GeneralHeader;
|
||||
|
||||
|
@ -14,7 +14,7 @@ using osu.Game.Online.API.Requests.Responses;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.UserInterface
|
||||
{
|
||||
public class MainMenuSettings : SettingsSubsection
|
||||
public partial class MainMenuSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => UserInterfaceStrings.MainMenuHeader;
|
||||
|
||||
|
@ -12,7 +12,7 @@ using osu.Game.Overlays.Mods.Input;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections.UserInterface
|
||||
{
|
||||
public class SongSelectSettings : SettingsSubsection
|
||||
public partial class SongSelectSettings : SettingsSubsection
|
||||
{
|
||||
protected override LocalisableString Header => UserInterfaceStrings.SongSelectHeader;
|
||||
|
||||
|
@ -11,7 +11,7 @@ using osu.Game.Overlays.Settings.Sections.UserInterface;
|
||||
|
||||
namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
public class UserInterfaceSection : SettingsSection
|
||||
public partial class UserInterfaceSection : SettingsSection
|
||||
{
|
||||
public override LocalisableString Header => UserInterfaceStrings.UserInterfaceSectionHeader;
|
||||
|
||||
|
Reference in New Issue
Block a user