Skip to content

Commit

Permalink
Update WallpaperSettingViewModel.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Sep 13, 2023
1 parent 2781784 commit 6f699b8
Showing 1 changed file with 64 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,70 @@ private void InitializeViewModel()

Contents.Add(ShuffleMode);

TextBlock ExtensionArea = new()
{
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Margin = new Thickness(0, 10, 0, 0),
FontWeight = FontWeights.Bold,
Text = "Eklentiler"
};

Contents.Add(ExtensionArea);

SPVCEC GifPlayer = new()
{
Margin = new Thickness(0, 10, 0, 0),
Expandable = false
};

GifPlayer.Title.Text = "Gif Eklentisi";
GifPlayer.LeftIcon.Symbol = SymbolRegular.Gif24;
GifPlayer.Description.Text = "Kütüphanenizde bulunan Gif türündeki temaları oynatacak olan eklentiyi seçin.";

ComboBox GifEngine = new();

GifEngine.SelectionChanged += (s, e) => GifEngineSelected(GifEngine.SelectedItem as ComboBoxItem);

foreach (SSDEGET Type in Enum.GetValues(typeof(SSDEGET)))
{
GifEngine.Items.Add(new ComboBoxItem()
{
IsSelected = Type == (SSDEGET)SSLMM.GApp,
Content = $"{Type}"
});
}

GifPlayer.HeaderFrame = GifEngine;

Contents.Add(GifPlayer);

SPVCEC VideoPlayer = new()
{
Margin = new Thickness(0, 10, 0, 0),
Expandable = false
};

VideoPlayer.Title.Text = "Video Eklentisi";
VideoPlayer.LeftIcon.Symbol = SymbolRegular.VideoClip24;
VideoPlayer.Description.Text = "Kütüphanenizde bulunan Video türündeki temaları oynatacak olan eklentiyi seçin.";

ComboBox VideoEngine = new();

VideoEngine.SelectionChanged += (s, e) => VideoEngineSelected(VideoEngine.SelectedItem as ComboBoxItem);

foreach (SSDEVET Type in Enum.GetValues(typeof(SSDEVET)))
{
VideoEngine.Items.Add(new ComboBoxItem()
{
IsSelected = Type == (SSDEVET)SSLMM.VApp,
Content = $"{Type}"
});
}

VideoPlayer.HeaderFrame = VideoEngine;

Contents.Add(VideoPlayer);

TextBlock EngineArea = new()
{
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Expand Down Expand Up @@ -268,70 +332,6 @@ private void InitializeViewModel()

Contents.Add(ApplicationPlayer);

TextBlock ExtensionArea = new()
{
Foreground = SSRER.GetResource<Brush>("TextFillColorPrimaryBrush"),
Margin = new Thickness(0, 10, 0, 0),
FontWeight = FontWeights.Bold,
Text = "Eklentiler"
};

Contents.Add(ExtensionArea);

SPVCEC GifPlayer = new()
{
Margin = new Thickness(0, 10, 0, 0),
Expandable = false
};

GifPlayer.Title.Text = "Gif Eklentisi";
GifPlayer.LeftIcon.Symbol = SymbolRegular.Gif24;
GifPlayer.Description.Text = "Kütüphanenizde bulunan Gif türündeki temaları oynatacak olan eklentiyi seçin.";

ComboBox GifEngine = new();

GifEngine.SelectionChanged += (s, e) => GifEngineSelected(GifEngine.SelectedItem as ComboBoxItem);

foreach (SSDEGET Type in Enum.GetValues(typeof(SSDEGET)))
{
GifEngine.Items.Add(new ComboBoxItem()
{
IsSelected = Type == (SSDEGET)SSLMM.GApp,
Content = $"{Type}"
});
}

GifPlayer.HeaderFrame = GifEngine;

Contents.Add(GifPlayer);

SPVCEC VideoPlayer = new()
{
Margin = new Thickness(0, 10, 0, 0),
Expandable = false
};

VideoPlayer.Title.Text = "Video Eklentisi";
VideoPlayer.LeftIcon.Symbol = SymbolRegular.VideoClip24;
VideoPlayer.Description.Text = "Kütüphanenizde bulunan Video türündeki temaları oynatacak olan eklentiyi seçin.";

ComboBox VideoEngine = new();

VideoEngine.SelectionChanged += (s, e) => VideoEngineSelected(VideoEngine.SelectedItem as ComboBoxItem);

foreach (SSDEVET Type in Enum.GetValues(typeof(SSDEVET)))
{
VideoEngine.Items.Add(new ComboBoxItem()
{
IsSelected = Type == (SSDEVET)SSLMM.VApp,
Content = $"{Type}"
});
}

VideoPlayer.HeaderFrame = VideoEngine;

Contents.Add(VideoPlayer);

_isInitialized = true;
}

Expand Down

0 comments on commit 6f699b8

Please sign in to comment.