Пример #1
0
        public CSelectSlide(SThemeSelectSlide theme, int partyModeID)
        {
            _PartyModeID = partyModeID;
            _Theme       = theme;

            ThemeLoaded = true;
        }
Пример #2
0
        public CSelectSlide(CSelectSlide slide)
        {
            _PartyModeID = slide._PartyModeID;
            _Theme       = slide._Theme;

            ThemeLoaded = false;

            MaxRect        = slide.MaxRect;
            RectArrowLeft  = slide.RectArrowLeft;
            RectArrowRight = slide.RectArrowRight;

            _Color    = slide._Color;
            _SelColor = slide._SelColor;

            _ColorArrow    = slide._ColorArrow;
            _SelColorArrow = slide._SelColorArrow;

            _TextColor     = slide._TextColor;
            _SelTextColor  = slide._SelTextColor;
            _TextH         = slide._TextH;
            _TextRelativeX = slide._TextRelativeX;
            _TextRelativeY = slide._TextRelativeY;
            _MaxW          = slide._MaxW;

            _Values.AddRange(slide._Values);
            _Selection  = slide._Selection;
            _NumVisible = slide._NumVisible;

            DrawTextures = slide.DrawTextures;
            Visible      = slide.Visible;
        }