mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 06:47:25 +08:00
153951d3dd
Allow for centalised logic for all option UI controls.
23 lines
613 B
C#
23 lines
613 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using System;
|
|
using osu.Framework.Allocation;
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Graphics;
|
|
using osu.Game.Graphics.Sprites;
|
|
|
|
namespace osu.Game.Overlays.Options
|
|
{
|
|
internal class OptionLabel : OptionItem<string>
|
|
{
|
|
protected override Drawable CreateControl() => null;
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(OsuColour colour)
|
|
{
|
|
Colour = colour.Gray6;
|
|
}
|
|
}
|
|
}
|