Catrobat.IDE.Core.UI.ThemeChooser.ThemeChooser C# (CSharp) Метод

ThemeChooser() публичный Метод

public ThemeChooser ( ) : Catrobat.IDE.Core.Annotations
Результат Catrobat.IDE.Core.Annotations
        public ThemeChooser()
        {
            var theme1 = new Theme("/Content/Images/Application/MainViewPanoramaBackgrounds/empty_background.png",
                                   "/Content/Images/Application/MainViewPanoramaBackgrounds/CroppedImages/empty_background.png")
            {
                AccentColor1 = new PortableSolidColorBrush(255, 128, 0, 128),
                AccentColor2 = new PortableSolidColorBrush(255, 0, 128, 0),
                AccentColor3 = new PortableSolidColorBrush(255, 155, 165, 0),
                AppBarBackgroundBrush = new PortableSolidColorBrush("#FF333333"),
                AppBarButtonBrush = new PortableSolidColorBrush("#FFFFFFFF"),
                AppBarButtonClickBrush = new PortableSolidColorBrush("#FFFFFFFF"),
            };

            var theme2 = new Theme("/Content/Images/Application/MainViewPanoramaBackgrounds/MainViewPanorama_cats_blue.png",
                                   "/Content/Images/Application/MainViewPanoramaBackgrounds/CroppedImages/MainViewPanorama_cats_blue_small.png")
            {
                AccentColor1 = new PortableSolidColorBrush(255, 128, 0, 128),
                AccentColor2 = new PortableSolidColorBrush(255, 0, 128, 0),
                AccentColor3 = new PortableSolidColorBrush(255, 155, 165, 0),
                AppBarBackgroundBrush = new PortableSolidColorBrush(255, 50, 50, 50)
            };

            var theme3 = new Theme("/Content/Images/Application/MainViewPanoramaBackgrounds/MainViewPanorama_cats_pink.png",
                                   "/Content/Images/Application/MainViewPanoramaBackgrounds/CroppedImages/MainViewPanorama_cats_pink_small.png")
            {
                AccentColor1 = new PortableSolidColorBrush(255, 128, 0, 128),
                AccentColor2 = new PortableSolidColorBrush(255, 0, 128, 0),
                AccentColor3 = new PortableSolidColorBrush(255, 155, 165, 0),
                AppBarBackgroundBrush = new PortableSolidColorBrush(255, 50, 50, 50)
            };

            _themes = new ObservableCollection<Theme>() {theme1, theme2, theme3};

            _selectedTheme = _themes[0];
        }