private void load() { Child = new BeatDivisorControl(new BindableBeatDivisor()) { Anchor = Anchor.Centre, Origin = Anchor.Centre, Size = new Vector2(90, 90) }; }
public void SetUp() => Schedule(() => { Child = beatDivisorControl = new BeatDivisorControl(bindableBeatDivisor = new BindableBeatDivisor(16)) { Anchor = Anchor.Centre, Origin = Anchor.Centre, Size = new Vector2(90, 90) }; tickSliderBar = beatDivisorControl.ChildrenOfType <SliderBar <int> >().Single(); tickMarkerHead = tickSliderBar.ChildrenOfType <EquilateralTriangle>().Single(); });
public void SetUp() => Schedule(() => { Child = new PopoverContainer { RelativeSizeAxes = Axes.Both, Child = beatDivisorControl = new BeatDivisorControl(bindableBeatDivisor = new BindableBeatDivisor(16)) { Anchor = Anchor.Centre, Origin = Anchor.Centre, Size = new Vector2(90, 90) } }; });