mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
OsuNub -> Nub.
This commit is contained in:
@ -13,7 +13,7 @@ using osu.Framework.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
class OsuNub : Container, IStateful<CheckBoxState>
|
||||
class Nub : Container, IStateful<CheckBoxState>
|
||||
{
|
||||
public const float COLLAPSED_SIZE = 20;
|
||||
public const float EXPANDED_SIZE = 40;
|
||||
@ -23,7 +23,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
const float border_width = 3;
|
||||
private Color4 glowingColour, idleColour;
|
||||
|
||||
public OsuNub()
|
||||
public Nub()
|
||||
{
|
||||
Size = new Vector2(COLLAPSED_SIZE, 12);
|
||||
|
@ -66,7 +66,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
}
|
||||
}
|
||||
|
||||
private OsuNub nub;
|
||||
private Nub nub;
|
||||
private SpriteText labelSpriteText;
|
||||
private AudioSample sampleChecked;
|
||||
private AudioSample sampleUnchecked;
|
||||
@ -79,7 +79,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Children = new Drawable[]
|
||||
{
|
||||
labelSpriteText = new OsuSpriteText(),
|
||||
nub = new OsuNub
|
||||
nub = new Nub
|
||||
{
|
||||
Anchor = Anchor.CentreRight,
|
||||
Origin = Anchor.CentreRight,
|
||||
|
@ -19,7 +19,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
private AudioSample sample;
|
||||
private double lastSampleTime;
|
||||
|
||||
private OsuNub nub;
|
||||
private Nub nub;
|
||||
private Box leftBox, rightBox;
|
||||
|
||||
public OsuSliderBar()
|
||||
@ -45,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
Origin = Anchor.CentreRight,
|
||||
Alpha = 0.5f,
|
||||
},
|
||||
nub = new OsuNub
|
||||
nub = new Nub
|
||||
{
|
||||
Origin = Anchor.TopCentre,
|
||||
State = CheckBoxState.Unchecked,
|
||||
|
Reference in New Issue
Block a user