Пример #1
0
        public void SetUp() => Schedule(() =>
        {
            Child = userDimContainer = new TestUserDimContainer
            {
                RelativeSizeAxes = Axes.Both,
                Child            = new Box
                {
                    Colour           = Color4.White,
                    RelativeSizeAxes = Axes.Both,
                },
            };

            userDimContainer.IsBreakTime.BindTo(isBreakTime);
            isBreakTime.Value = false;

            lightenDuringBreaks.Value = false;
        });
Пример #2
0
 protected override UserDimContainer CreateFadeContainer() => fadeContainer = new TestUserDimContainer
 {
     RelativeSizeAxes = Axes.Both
 };