1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:22:56 +08:00

OsuNub -> Nub.

This commit is contained in:
Thomas Müller 2017-02-04 12:06:53 +01:00
parent f4dfc477f4
commit d6714324df
4 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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,

View File

@ -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,

View File

@ -68,7 +68,7 @@
<Compile Include="Graphics\Cursor\CursorTrail.cs" />
<Compile Include="Graphics\Sprites\OsuSpriteText.cs" />
<Compile Include="Graphics\UserInterface\BackButton.cs" />
<Compile Include="Graphics\UserInterface\OsuNub.cs" />
<Compile Include="Graphics\UserInterface\Nub.cs" />
<Compile Include="Graphics\UserInterface\OsuSliderBar.cs" />
<Compile Include="Graphics\UserInterface\OsuTextBox.cs" />
<Compile Include="Graphics\UserInterface\TwoLayerButton.cs" />