Пример #1
0
 private void load()
 {
     Child = new BeatDivisorControl(new BindableBeatDivisor())
     {
         Anchor = Anchor.Centre,
         Origin = Anchor.Centre,
         Size   = new Vector2(90, 90)
     };
 }
Пример #2
0
        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();
        });
Пример #3
0
 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)
         }
     };
 });