mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 06:12:55 +08:00
DrawableBeatDivisor -> BeatDivisorControl
This commit is contained in:
parent
6fd650777c
commit
c2eb32c0e9
@ -10,14 +10,14 @@ using OpenTK;
|
||||
|
||||
namespace osu.Game.Tests.Visual
|
||||
{
|
||||
public class TestCaseDrawableBeatDivisor : OsuTestCase
|
||||
public class TestCaseBeatDivisorControl : OsuTestCase
|
||||
{
|
||||
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(BindableBeatDivisor) };
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Child = new DrawableBeatDivisor(new BindableBeatDivisor())
|
||||
Child = new BeatDivisorControl(new BindableBeatDivisor())
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
@ -116,7 +116,7 @@
|
||||
<Compile Include="Visual\TestCaseBeatmapOptionsOverlay.cs" />
|
||||
<Compile Include="Visual\TestCaseBeatmapScoresContainer.cs" />
|
||||
<Compile Include="Visual\TestCaseBeatmapSetOverlay.cs" />
|
||||
<Compile Include="Visual\TestCaseDrawableBeatDivisor.cs" />
|
||||
<Compile Include="Visual\TestCaseBeatDivisorControl.cs" />
|
||||
<Compile Include="Visual\TestCaseBeatSyncedContainer.cs" />
|
||||
<Compile Include="Visual\TestCaseBreadcrumbs.cs" />
|
||||
<Compile Include="Visual\TestCaseBreakOverlay.cs" />
|
||||
|
@ -16,13 +16,13 @@ using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Game.Screens.Edit.Screens.Compose
|
||||
{
|
||||
public class DrawableBeatDivisor : CompositeDrawable
|
||||
public class BeatDivisorControl : CompositeDrawable
|
||||
{
|
||||
private readonly BindableBeatDivisor beatDivisor = new BindableBeatDivisor();
|
||||
private int currentDivisorIndex;
|
||||
private TickSliderBar slider;
|
||||
|
||||
public DrawableBeatDivisor(BindableBeatDivisor beatDivisor)
|
||||
public BeatDivisorControl(BindableBeatDivisor beatDivisor)
|
||||
{
|
||||
this.beatDivisor.BindTo(beatDivisor);
|
||||
}
|
@ -70,7 +70,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose
|
||||
Padding = new MarginPadding { Right = 5 },
|
||||
Child = timeline = new ScrollableTimeline { RelativeSizeAxes = Axes.Both }
|
||||
},
|
||||
new DrawableBeatDivisor(beatDivisor) { RelativeSizeAxes = Axes.Both }
|
||||
new BeatDivisorControl(beatDivisor) { RelativeSizeAxes = Axes.Both }
|
||||
},
|
||||
},
|
||||
ColumnDimensions = new[]
|
||||
|
@ -381,7 +381,7 @@
|
||||
<Compile Include="Rulesets\Scoring\Legacy\LegacyScoreParser.cs" />
|
||||
<Compile Include="Rulesets\UI\JudgementContainer.cs" />
|
||||
<Compile Include="Screens\Edit\Screens\Compose\BindableBeatDivisor.cs" />
|
||||
<Compile Include="Screens\Edit\Screens\Compose\DrawableBeatDivisor.cs" />
|
||||
<Compile Include="Screens\Edit\Screens\Compose\BeatDivisorControl.cs" />
|
||||
<Compile Include="Screens\Edit\Screens\Compose\Layers\BorderLayer.cs" />
|
||||
<Compile Include="Screens\Edit\Screens\Compose\Layers\HitObjectMaskLayer.cs" />
|
||||
<Compile Include="Screens\Edit\Screens\Compose\Layers\SelectionBox.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user