Esempio n. 1
0
            public ClickableNewsBackground(APINewsPost post)
            {
                this.post = post;

                RelativeSizeAxes = Axes.X;
                Height           = 130;
            }
Esempio n. 2
0
        public NewsTitleLink(APINewsPost post)
        {
            this.post = post;

            RelativeSizeAxes = Axes.X;
            AutoSizeAxes     = Axes.Y;
        }
Esempio n. 3
0
        public NewsCard(APINewsPost post)
        {
            this.post = post;

            RelativeSizeAxes = Axes.X;
            AutoSizeAxes     = Axes.Y;
            Masking          = true;
            CornerRadius     = 6;
        }
Esempio n. 4
0
        public NewsCard(APINewsPost post)
            : base(HoverSampleSet.Submit)
        {
            this.post = post;

            RelativeSizeAxes = Axes.X;
            AutoSizeAxes     = Axes.Y;
            Masking          = true;
            CornerRadius     = 6;
        }
Esempio n. 5
0
            public PostButton(APINewsPost post)
            {
                this.post = post;

                RelativeSizeAxes = Axes.X;
                AutoSizeAxes     = Axes.Y;
                Child            = text = new TextFlowContainer(t => t.Font = OsuFont.GetFont(size: 12))
                {
                    RelativeSizeAxes = Axes.X,
                    AutoSizeAxes     = Axes.Y,
                    Text             = post.Title
                };
            }
 public NewsGroupItem(APINewsPost post)
 {
     this.post = post;
 }
Esempio n. 7
0
 public FeaturedNewsItemPanel(APINewsPost post)
 {
     this.post = post;
 }
Esempio n. 8
0
 public NewsCard(APINewsPost post)
 {
     this.post = post;
 }