Пример #1
0
        public UIRatingList(uint avatarID)
        {
            InnerBackground = new UIImage(GetTexture((ulong)0x7A400000001)).With9Slice(13, 13, 13, 13);
            InnerBackground.SetSize(475, 349);
            Add(InnerBackground);

            RatingList = new UIListBox()
            {
                RowHeight = 69,
                Size      = new Vector2(475, 352)
            };
            RatingList.Columns.Add(new UIListBoxColumn()
            {
                Width = 475
            });
            RatingList.ScrollbarGutter = 5;
            Add(RatingList);
            RatingList.ScrollbarImage = GetTexture(0x31000000001);
            RatingList.InitDefaultSlider();

            Size     = new Vector2(490, 352);
            AvatarID = avatarID;

            ControllerUtils.BindController <RatingListController>(this);
        }