Пример #1
0
 public PanelDownloadButton(BeatmapSetInfo beatmapSet)
     : base(beatmapSet)
 {
     InternalChild = shakeContainer = new ShakeContainer
     {
         RelativeSizeAxes = Axes.Both,
         Child            = button = new DownloadButton
         {
             RelativeSizeAxes = Axes.Both,
         },
     };
 }
Пример #2
0
        public PanelDownloadButton(BeatmapSetInfo beatmapSet, bool noVideo = false)
            : base(beatmapSet)
        {
            this.noVideo = noVideo;

            InternalChild = shakeContainer = new ShakeContainer
            {
                RelativeSizeAxes = Axes.Both,
                Child            = button = new DownloadButton
                {
                    RelativeSizeAxes = Axes.Both,
                },
            };
        }