Repository navigation
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
1181 lines (1120 loc) · 85.9 KB
/
Copy pathMainWindow.xaml
File metadata and controls
1181 lines (1120 loc) · 85.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Window x:Class="SoundVibe.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="SoundVibe" Height="750" Width="1100"
WindowStyle="None" AllowsTransparency="True" Background="Transparent"
WindowStartupLocation="CenterScreen"
AllowDrop="True" Drop="Window_Drop" DragOver="Window_DragOver"
Icon="app_icon.ico">
<Window.Resources>
<SolidColorBrush x:Key="ThemeAccentBrush" Color="#FFD13B8A"/>
<SolidColorBrush x:Key="ThemeAccentLightBrush" Color="#FF4A90E2"/>
<SolidColorBrush x:Key="ThemeGlassBrush" Color="#15FFFFFF"/>
<SolidColorBrush x:Key="ThemeDarkBgBrush" Color="#40000000"/>
<LinearGradientBrush x:Key="ThemeSliderGradient" StartPoint="0,0" EndPoint="1,0">
<GradientStop Color="#FF4A90E2" Offset="0"/>
<GradientStop Color="#FFD13B8A" Offset="1"/>
</LinearGradientBrush>
<LinearGradientBrush x:Key="ThemeVerticalSliderGradient" StartPoint="0,1" EndPoint="0,0">
<GradientStop Color="#FF4A90E2" Offset="0"/>
<GradientStop Color="#FFD13B8A" Offset="1"/>
</LinearGradientBrush>
<LinearGradientBrush x:Key="ThemeMiniGradient" StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#FF4A90E2" Offset="0"/>
<GradientStop Color="#FFD13B8A" Offset="1"/>
</LinearGradientBrush>
<Style x:Key="IconButton" TargetType="Button">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="#B0C4DE"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="bgBorder" Background="{TemplateBinding Background}" CornerRadius="8">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="#FFFFFF"/>
<Setter TargetName="bgBorder" Property="Background" Value="{DynamicResource ThemeGlassBrush}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="ScrollBar">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Width" Value="8"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ScrollBar">
<Grid Background="Transparent">
<Border Background="#0AFFFFFF" CornerRadius="4"/>
<Track x:Name="PART_Track" IsDirectionReversed="true">
<Track.DecreaseRepeatButton>
<RepeatButton Command="ScrollBar.PageUpCommand" Opacity="0"/>
</Track.DecreaseRepeatButton>
<Track.IncreaseRepeatButton>
<RepeatButton Command="ScrollBar.PageDownCommand" Opacity="0"/>
</Track.IncreaseRepeatButton>
<Track.Thumb>
<Thumb>
<Thumb.Template>
<ControlTemplate TargetType="Thumb">
<Border x:Name="ThumbBorder" Background="#40FFFFFF" CornerRadius="4" Margin="1,0"/>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="ThumbBorder" Property="Background" Value="{DynamicResource ThemeAccentBrush}"/>
</Trigger>
<Trigger Property="IsDragging" Value="True">
<Setter TargetName="ThumbBorder" Property="Background" Value="{DynamicResource ThemeAccentBrush}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Thumb.Template>
</Thumb>
</Track.Thumb>
</Track>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="SidebarButton" TargetType="RadioButton">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="#90A4AE"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="Height" Value="45"/>
<Setter Property="Margin" Value="10,2"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RadioButton">
<Border x:Name="border" Background="{TemplateBinding Background}" CornerRadius="10">
<Grid>
<Border x:Name="indicator" Width="4" HorizontalAlignment="Left"
Background="{DynamicResource ThemeAccentBrush}" CornerRadius="2" Opacity="0" Margin="0,10">
<Border.Effect>
<DropShadowEffect BlurRadius="8" Color="Black" ShadowDepth="0" Opacity="0.5"/>
</Border.Effect>
</Border>
<ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20,0,0,0"/>
</Grid>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="#FFFFFF"/>
<Setter TargetName="border" Property="Background" Value="#0AFFFFFF"/>
</Trigger>
<Trigger Property="IsChecked" Value="True">
<Setter Property="Foreground" Value="#FFFFFF"/>
<Setter TargetName="border" Property="Background" Value="{DynamicResource ThemeGlassBrush}"/>
<Setter TargetName="indicator" Property="Opacity" Value="1"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="SearchBoxStyle" TargetType="TextBox">
<Setter Property="Background" Value="{DynamicResource ThemeGlassBrush}"/>
<Setter Property="Foreground" Value="#FFFFFF"/>
<Setter Property="BorderBrush" Value="#20FFFFFF"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="15,0"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TextBox">
<Border x:Name="SearchBorder" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="18">
<Grid>
<ScrollViewer x:Name="PART_ContentHost" Margin="{TemplateBinding Padding}"/>
<TextBlock x:Name="PlaceholderText" Text="Search your music..."
Foreground="#607D8B" Margin="15,0,0,0"
VerticalAlignment="Center" IsHitTestVisible="False">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Visibility" Value="Collapsed"/>
<Style.Triggers>
<DataTrigger Binding="{Binding Text, RelativeSource={RelativeSource TemplatedParent}}" Value="">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="PremiumSliderStyle" TargetType="Slider">
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="IsMoveToPointEnabled" Value="True"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Slider">
<Grid VerticalAlignment="Center" Height="15">
<Border Height="3" Background="#30000000" CornerRadius="1.5"
BorderBrush="#15FFFFFF" BorderThickness="1" VerticalAlignment="Center"/>
<Track x:Name="PART_Track">
<Track.DecreaseRepeatButton>
<RepeatButton Command="{x:Static Slider.DecreaseLarge}">
<RepeatButton.Template>
<ControlTemplate TargetType="RepeatButton">
<Border Background="Transparent" Height="15">
<Border Height="3" CornerRadius="1.5" Background="{DynamicResource ThemeSliderGradient}" VerticalAlignment="Center"/>
</Border>
</ControlTemplate>
</RepeatButton.Template>
</RepeatButton>
</Track.DecreaseRepeatButton>
<Track.IncreaseRepeatButton>
<RepeatButton Command="{x:Static Slider.IncreaseLarge}">
<RepeatButton.Template>
<ControlTemplate TargetType="RepeatButton">
<Border Background="Transparent" Height="15"/>
</ControlTemplate>
</RepeatButton.Template>
</RepeatButton>
</Track.IncreaseRepeatButton>
<Track.Thumb>
<Thumb>
<Thumb.Template>
<ControlTemplate TargetType="Thumb">
<Ellipse Width="12" Height="12" Fill="#FFFFFF" Cursor="Hand">
<Ellipse.Effect>
<DropShadowEffect BlurRadius="5" Color="Black" Opacity="0.5" ShadowDepth="1"/>
</Ellipse.Effect>
</Ellipse>
</ControlTemplate>
</Thumb.Template>
</Thumb>
</Track.Thumb>
</Track>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="VerticalEQSlider" TargetType="Slider">
<Setter Property="Orientation" Value="Vertical"/>
<Setter Property="Height" Value="200"/>
<Setter Property="Width" Value="24"/>
<Setter Property="Margin" Value="15,0"/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="IsMoveToPointEnabled" Value="True"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Slider">
<Grid HorizontalAlignment="Center" Width="15">
<Border Width="3" Background="#30000000" CornerRadius="1.5"
BorderBrush="#15FFFFFF" BorderThickness="1"
HorizontalAlignment="Center"/>
<Track x:Name="PART_Track">
<Track.DecreaseRepeatButton>
<RepeatButton Command="{x:Static Slider.DecreaseLarge}">
<RepeatButton.Template>
<ControlTemplate TargetType="RepeatButton">
<Border Background="Transparent" Width="15">
<Border Width="3" CornerRadius="1.5" HorizontalAlignment="Center" Background="{DynamicResource ThemeVerticalSliderGradient}"/>
</Border>
</ControlTemplate>
</RepeatButton.Template>
</RepeatButton>
</Track.DecreaseRepeatButton>
<Track.IncreaseRepeatButton>
<RepeatButton Command="{x:Static Slider.IncreaseLarge}">
<RepeatButton.Template>
<ControlTemplate TargetType="RepeatButton">
<Border Background="Transparent" Width="15"/>
</ControlTemplate>
</RepeatButton.Template>
</RepeatButton>
</Track.IncreaseRepeatButton>
<Track.Thumb>
<Thumb>
<Thumb.Template>
<ControlTemplate TargetType="Thumb">
<Ellipse Width="12" Height="12" Fill="#FFFFFF" Cursor="Hand">
<Ellipse.Effect>
<DropShadowEffect BlurRadius="5" Color="Black" Opacity="0.5" ShadowDepth="1"/>
</Ellipse.Effect>
</Ellipse>
</ControlTemplate>
</Thumb.Template>
</Thumb>
</Track.Thumb>
</Track>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="GlassComboBoxStyle" TargetType="ComboBox">
<Setter Property="Foreground" Value="#EEEEEE"/>
<Setter Property="Background" Value="{DynamicResource ThemeGlassBrush}"/>
<Setter Property="BorderBrush" Value="#20FFFFFF"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="Padding" Value="15,0,30,0"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ComboBox">
<Grid>
<Border x:Name="border" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="18"/>
<ToggleButton x:Name="toggleButton" BorderBrush="{x:Null}" BorderThickness="0"
Background="Transparent"
IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}">
<ToggleButton.Template>
<ControlTemplate TargetType="ToggleButton">
<Grid>
<Border Background="Transparent"/>
<Path Data="M 0 0 L 4 4 L 8 0 Z" Fill="#90A4AE"
HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,12,0"/>
</Grid>
</ControlTemplate>
</ToggleButton.Template>
</ToggleButton>
<ContentPresenter x:Name="contentPresenter" IsHitTestVisible="False"
Margin="{TemplateBinding Padding}"
Content="{TemplateBinding SelectionBoxItem}"
TextElement.Foreground="#B0C4DE"
VerticalAlignment="Center" HorizontalAlignment="Left"/>
<Popup x:Name="PART_Popup" AllowsTransparency="True"
IsOpen="{TemplateBinding IsDropDownOpen}"
Placement="Bottom" PopupAnimation="Fade">
<Border x:Name="dropDownBorder" Background="{DynamicResource ThemeDarkBgBrush}"
BorderBrush="#30FFFFFF" BorderThickness="1"
Margin="0,5,0,0" CornerRadius="10"
MinWidth="{Binding ActualWidth, ElementName=border}">
<ScrollViewer MaxHeight="250">
<ItemsPresenter/>
</ScrollViewer>
</Border>
</Popup>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="border" Property="Background" Value="#1AFFFFFF"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="GlassComboBoxItemStyle" TargetType="ComboBoxItem">
<Setter Property="Foreground" Value="#B0C4DE"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Padding" Value="15,10"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ComboBoxItem">
<Border Name="Bd" Background="{TemplateBinding Background}"
Padding="{TemplateBinding Padding}" CornerRadius="6" Margin="4,2">
<ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Bd" Property="Background" Value="#20FFFFFF"/>
<Setter Property="Foreground" Value="#FFFFFF"/>
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource ThemeGlassBrush}"/>
<Setter Property="Foreground" Value="#FFFFFF"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Shared modern surfaces for the two small studio/tool flyouts. -->
<Style x:Key="PopupActionButton" TargetType="Button">
<Setter Property="Foreground" Value="#FFF4F0F9"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="Padding" Value="10,10"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="Surface" Background="{TemplateBinding Background}" CornerRadius="9">
<ContentPresenter Margin="{TemplateBinding Padding}" VerticalAlignment="Center" HorizontalAlignment="Left"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Surface" Property="Background" Value="{DynamicResource ThemeGlassBrush}"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="Surface" Property="Background" Value="#30FFFFFF"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="StudioCheckBox" TargetType="CheckBox">
<Setter Property="Foreground" Value="White"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="CheckBox">
<Grid Height="28" Background="Transparent">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="46"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border x:Name="SwitchTrack" Width="36" Height="19" CornerRadius="10"
HorizontalAlignment="Left" VerticalAlignment="Center" Background="#53626A88">
<Ellipse x:Name="SwitchKnob" Width="15" Height="15" Fill="White"
VerticalAlignment="Center" HorizontalAlignment="Left" Margin="2,0,0,0"/>
</Border>
<ContentPresenter Grid.Column="1" VerticalAlignment="Center"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True">
<Setter TargetName="SwitchTrack" Property="Background" Value="{DynamicResource ThemeAccentBrush}"/>
<Setter TargetName="SwitchKnob" Property="HorizontalAlignment" Value="Right"/>
<Setter TargetName="SwitchKnob" Property="Margin" Value="0,0,2,0"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
<Border CornerRadius="20" BorderThickness="1" BorderBrush="#40FFFFFF"
ClipToBounds="True" MouseLeftButtonDown="Window_MouseDown">
<Grid>
<Border x:Name="BgAmbientGlow" Opacity="0.25" IsHitTestVisible="False">
<Border.Background>
<RadialGradientBrush RadiusX="0.7" RadiusY="0.7">
<GradientStop Color="#007AC8FF" Offset="0"/>
<GradientStop Color="#00000000" Offset="1"/>
</RadialGradientBrush>
</Border.Background>
</Border>
<Rectangle x:Name="BgColorRect" Stretch="Fill" Opacity="0.6"/>
<Border x:Name="BgGlassOverlay" BorderBrush="{DynamicResource ThemeWindowBorderBrush}"
BorderThickness="1" CornerRadius="20"
Background="{DynamicResource ThemeWindowBg}"/>
<Grid>
<Grid x:Name="MainUI" Visibility="Visible">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="260"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Background="{DynamicResource ThemeDarkBgBrush}"
BorderBrush="#15FFFFFF" BorderThickness="0,0,1,0">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="90"/>
<RowDefinition Height="*"/>
<RowDefinition Height="130"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal"
VerticalAlignment="Center" Margin="30,0,0,0">
<TextBlock Text="ılı" Foreground="{DynamicResource ThemeAccentBrush}" FontSize="26" FontWeight="Bold" Margin="0,0,10,0">
<TextBlock.Effect>
<DropShadowEffect BlurRadius="10" Color="Black" ShadowDepth="0" Opacity="0.6"/>
</TextBlock.Effect>
</TextBlock>
<TextBlock Text="SoundVibe" Foreground="#FFFFFF" FontSize="18"
FontWeight="SemiBold" VerticalAlignment="Center"/>
</StackPanel>
<Grid Grid.Row="1" Margin="0,10,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0">
<RadioButton x:Name="TabLibrary" GroupName="Menu" IsChecked="True"
Style="{StaticResource SidebarButton}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="🎵" Margin="0,0,15,0" FontSize="16"/>
<TextBlock Text="Library" VerticalAlignment="Center"/>
</StackPanel>
</RadioButton>
<RadioButton x:Name="TabEqualizer" GroupName="Menu"
Style="{StaticResource SidebarButton}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="🎚" Margin="0,0,15,0" FontSize="16"/>
<TextBlock Text="Equalizer" VerticalAlignment="Center"/>
</StackPanel>
</RadioButton>
<Button x:Name="BtnAddFolder" Content="📁 Add Folder"
Style="{StaticResource IconButton}"
Margin="20,15,20,8" Height="40" Background="{DynamicResource ThemeGlassBrush}"/>
<Grid Margin="20,0,20,6">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="32"/>
<ColumnDefinition Width="32"/>
</Grid.ColumnDefinitions>
<ComboBox x:Name="CmbLibraryView" Grid.Column="0" Height="34"
Style="{StaticResource GlassComboBoxStyle}"
ItemContainerStyle="{StaticResource GlassComboBoxItemStyle}"
ToolTip="Library / Favorites / Recently Played / Custom Playlists"/>
<Button x:Name="BtnNewPlaylist" Grid.Column="1" Content="+" Width="28" Height="28"
Style="{StaticResource IconButton}" ToolTip="New playlist" Margin="4,3,0,3"/>
<Button x:Name="BtnAddToPlaylist" Grid.Column="2" Content="♫+" Width="28" Height="28"
FontSize="10" Style="{StaticResource IconButton}" ToolTip="Add selected song to playlist" Margin="4,3,0,3"/>
</Grid>
<Button x:Name="BtnResumeLast" Content="↻ Resume last session" Visibility="Collapsed"
Style="{StaticResource IconButton}" Margin="20,0,20,6" Height="32"
Background="#12FFFFFF" FontSize="11"/>
<TextBlock Text="TRACKS" Foreground="#607D8B"
FontSize="10" FontWeight="Bold" Margin="30,8,0,5"/>
</StackPanel>
<ListBox x:Name="LstSongs" Grid.Row="1" Background="Transparent"
BorderThickness="0"
ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.CanContentScroll="True"
VirtualizingPanel.IsVirtualizing="True"
VirtualizingPanel.VirtualizationMode="Recycling"
Margin="10,0,10,10">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Padding" Value="10,8"/>
<Setter Property="Margin" Value="0,2"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBoxItem">
<Border x:Name="Bd" Background="{TemplateBinding Background}"
CornerRadius="8" Padding="{TemplateBinding Padding}">
<ContentPresenter HorizontalAlignment="Stretch" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Bd" Property="Background" Value="#12FFFFFF"/>
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter TargetName="Bd" Property="Background" Value="{DynamicResource ThemeGlassBrush}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<Grid Margin="0,2">
<Grid.ContextMenu>
<ContextMenu Background="{DynamicResource ThemeDarkBgBrush}" Foreground="White" BorderBrush="#30FFFFFF">
<MenuItem Header="▶ Sıradaki Çal (Play Next)" Click="MenuPlayNext_Click" Background="Transparent"/>
<MenuItem Header="🎵 Sıraya Ekle (Add to Queue)" Click="MenuAddQueue_Click" Background="Transparent"/>
<Separator/>
<MenuItem Header="★ Favori Aç/Kapat" Click="MenuToggleFavorite_Click" Background="Transparent"/>
<MenuItem Header="+ Aktif Playlist'e Ekle" Click="MenuAddToActivePlaylist_Click" Background="Transparent"/>
</ContextMenu>
</Grid.ContextMenu>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="40"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="30"/>
</Grid.ColumnDefinitions>
<Border Width="30" Height="30" CornerRadius="6"
Background="#1C1C1E" HorizontalAlignment="Left"
ClipToBounds="True">
<Image Source="{Binding CoverImage}" Stretch="Uniform"
HorizontalAlignment="Center" VerticalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality"/>
</Border>
<StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="5,0,0,0">
<TextBlock Text="{Binding Title}" FontWeight="Bold"
FontSize="13" Foreground="White"
TextTrimming="CharacterEllipsis"/>
<TextBlock Text="{Binding Artist}" FontSize="11"
Opacity="0.7" Foreground="#B0C4DE"
TextTrimming="CharacterEllipsis"/>
</StackPanel>
<TextBlock Grid.Column="2" Text="★" Foreground="#FFD166" FontSize="12"
VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,-2,0,0">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Visibility" Value="Collapsed"/>
<Style.Triggers>
<DataTrigger Binding="{Binding IsFavorite}" Value="True">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
<TextBlock x:Name="PlayIndicator" Grid.Column="2"
Foreground="{DynamicResource ThemeAccentBrush}" FontWeight="Bold" FontSize="14"
VerticalAlignment="Center" HorizontalAlignment="Right"
Visibility="Collapsed">
<TextBlock.Effect>
<DropShadowEffect BlurRadius="5" Color="Black" ShadowDepth="0" Opacity="0.5"/>
</TextBlock.Effect>
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Text" Value="ılı"/>
<Style.Triggers>
<Trigger Property="Visibility" Value="Visible">
<Trigger.EnterActions>
<BeginStoryboard Name="ListEqAnim">
<Storyboard RepeatBehavior="Forever">
<StringAnimationUsingKeyFrames Storyboard.TargetProperty="Text" Duration="0:0:0.8">
<DiscreteStringKeyFrame Value="ılı" KeyTime="0:0:0.0"/>
<DiscreteStringKeyFrame Value="ııı" KeyTime="0:0:0.2"/>
<DiscreteStringKeyFrame Value="lıı" KeyTime="0:0:0.4"/>
<DiscreteStringKeyFrame Value="ııl" KeyTime="0:0:0.6"/>
</StringAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</Trigger.EnterActions>
<Trigger.ExitActions>
<StopStoryboard BeginStoryboardName="ListEqAnim"/>
</Trigger.ExitActions>
</Trigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
</Grid>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ListBoxItem}}, Path=IsSelected}" Value="True">
<Setter TargetName="PlayIndicator" Property="Visibility" Value="Visible"/>
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
<Grid Grid.Row="2" Margin="20" VerticalAlignment="Bottom">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="55"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Width="55" Height="55" CornerRadius="8" Background="#111">
<Border.Effect>
<DropShadowEffect BlurRadius="10" Color="Black" Opacity="0.5"/>
</Border.Effect>
<Border CornerRadius="8" ClipToBounds="True">
<Image x:Name="ImgMiniCover" Stretch="Uniform"
HorizontalAlignment="Center" VerticalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality"/>
</Border>
</Border>
<StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="15,0,0,0">
<TextBlock x:Name="TxtSidebarNowPlaying" Text="Now Playing" Foreground="White"
FontWeight="SemiBold" FontSize="13" TextTrimming="CharacterEllipsis"/>
<TextBlock x:Name="TxtSidebarArtist" Text="SoundVibe Theme Engine" Foreground="#90A4AE"
FontSize="11" Margin="0,2,0,0" TextTrimming="CharacterEllipsis"/>
<TextBlock Foreground="{DynamicResource ThemeAccentLightBrush}" FontSize="9" Margin="0,5,0,0" Opacity="0.7">
<TextBlock.Style>
<Style TargetType="TextBlock">
<Setter Property="Text" Value="ııılılıı"/>
<Style.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
<Storyboard RepeatBehavior="Forever">
<StringAnimationUsingKeyFrames Storyboard.TargetProperty="Text" Duration="0:0:0.8">
<DiscreteStringKeyFrame Value="ı ılı" KeyTime="0:0:0.0"/>
<DiscreteStringKeyFrame Value="ılı ı" KeyTime="0:0:0.2"/>
<DiscreteStringKeyFrame Value="ıı lı" KeyTime="0:0:0.4"/>
<DiscreteStringKeyFrame Value="lı ılı" KeyTime="0:0:0.6"/>
</StringAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
</StackPanel>
</Grid>
</Grid>
</Border>
<Grid Grid.Column="1" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="80"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Margin="30,20,30,0">
<TextBox x:Name="TxtSearch" Width="280" Height="36"
HorizontalAlignment="Left" Style="{StaticResource SearchBoxStyle}"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
<!-- SoundVibe themed, lightweight tool menus (no legacy Windows context menu). -->
<Button x:Name="BtnLibraryTools" Content="⋯" Width="34" Height="36"
Style="{StaticResource IconButton}" Margin="0,0,6,0" ToolTip="Library tools"/>
<Popup x:Name="LibraryToolsPopup" Placement="Bottom" PlacementTarget="{Binding ElementName=BtnLibraryTools}"
HorizontalOffset="-240" VerticalOffset="9" AllowsTransparency="True" StaysOpen="False" PopupAnimation="Fade">
<Border Width="282" Background="#F51A112A" BorderBrush="{DynamicResource ThemeAccentBrush}"
BorderThickness="1" CornerRadius="16" Padding="14" SnapsToDevicePixels="True">
<Border.Effect><DropShadowEffect BlurRadius="22" ShadowDepth="7" Opacity="0.58" Color="Black"/></Border.Effect>
<StackPanel>
<TextBlock Text="YOUR LIBRARY" Foreground="{DynamicResource ThemeAccentLightBrush}" FontWeight="Bold" FontSize="11" Margin="8,2,8,4"/>
<TextBlock Text="Manage tracks and playlists" Foreground="#99D1C9E1" FontSize="11" Margin="8,0,8,10"/>
<TextBlock Text="ONLINE MUSIC" Foreground="{DynamicResource ThemeAccentLightBrush}" FontWeight="Bold" FontSize="10" Margin="8,3,8,3"/>
<Button Style="{StaticResource PopupActionButton}" Content="☁ Search SoundCloud" Click="MenuSoundCloud_Click" ToolTip="Search and play SoundCloud tracks in SoundVibe"/>
<Border Height="1" Background="#2AFFFFFF" Margin="8,9"/>
<Button Style="{StaticResource PopupActionButton}" Content="+ Import M3U playlist" Click="MenuImportM3u_Click"/>
<Button Style="{StaticResource PopupActionButton}" Content="↗ Export current playlist" Click="MenuExportM3u_Click"/>
<Button Style="{StaticResource PopupActionButton}" Content="◎ Find duplicate songs" Click="MenuDuplicates_Click"/>
<Border Height="1" Background="#2AFFFFFF" Margin="8,9"/>
<Button Style="{StaticResource PopupActionButton}" Content="▤ Manage music folders" Click="MenuManageFolders_Click"/>
<Button Style="{StaticResource PopupActionButton}" Content="♫ Edit song lyrics (.LRC)" Click="MenuEditLyrics_Click"/>
<Button Style="{StaticResource PopupActionButton}" Content="◉ Select audio output" Click="MenuAudioOutput_Click"/>
</StackPanel>
</Border>
</Popup>
<Button x:Name="BtnStudio" Content="⚙" Width="34" Height="36"
Style="{StaticResource IconButton}" Margin="0,0,6,0" ToolTip="Visualizer Studio"/>
<Popup x:Name="StudioPopup" Placement="Bottom" PlacementTarget="{Binding ElementName=BtnStudio}"
HorizontalOffset="-262" VerticalOffset="9" AllowsTransparency="True" StaysOpen="False" PopupAnimation="Fade">
<Border Width="310" Background="#F51A112A" BorderBrush="{DynamicResource ThemeAccentBrush}"
BorderThickness="1" CornerRadius="16" Padding="18" SnapsToDevicePixels="True">
<Border.Effect><DropShadowEffect BlurRadius="22" ShadowDepth="7" Opacity="0.58" Color="Black"/></Border.Effect>
<StackPanel>
<TextBlock Text="VISUALIZER STUDIO" FontWeight="Bold" FontSize="13" Foreground="White"/>
<TextBlock Text="Fine-tune your sound visuals" Foreground="#A4C8BFD5" FontSize="11" Margin="0,3,0,16"/>
<TextBlock Text="SENSITIVITY" FontSize="10" Foreground="#A4DDE2F2" Margin="0,0,0,7"/>
<Slider x:Name="SldVisSensitivity" Style="{StaticResource PremiumSliderStyle}" Minimum="0.4" Maximum="3" Value="1" Height="20" TickFrequency="0.1" IsSnapToTickEnabled="False"/>
<TextBlock Text="MOTION SMOOTHING" FontSize="10" Foreground="#A4DDE2F2" Margin="0,17,0,7"/>
<Slider x:Name="SldVisSmoothing" Style="{StaticResource PremiumSliderStyle}" Minimum="0" Maximum="1" Value="0.5" Height="20" TickFrequency="0.05" IsSnapToTickEnabled="False"/>
<TextBlock Text="BASS RESPONSE" FontSize="10" Foreground="#A4DDE2F2" Margin="0,17,0,7"/>
<Slider x:Name="SldVisBass" Style="{StaticResource PremiumSliderStyle}" Minimum="0.5" Maximum="3" Value="1" Height="20" TickFrequency="0.1" IsSnapToTickEnabled="False"/>
<Border Height="1" Background="#2AFFFFFF" Margin="0,15"/>
<CheckBox x:Name="MenuSystemAudio" Content="React to system audio" Style="{StaticResource StudioCheckBox}" Click="MenuSystemAudio_Click"/>
<TextBlock Text="Uses Windows output loopback" FontSize="10" Foreground="#88C7BFDA" Margin="23,5,0,10"/>
<Button Style="{StaticResource PopupActionButton}" Content="⛶ Fullscreen visualizer · F11" Click="MenuFullscreen_Click"/>
<Button Style="{StaticResource PopupActionButton}" Content="↺ Reset visualizer settings" Click="MenuResetStudio_Click"/>
</StackPanel>
</Border>
</Popup>
<ComboBox x:Name="CmbRenderMode" Width="86" Height="36" SelectedIndex="2"
Style="{StaticResource GlassComboBoxStyle}"
ItemContainerStyle="{StaticResource GlassComboBoxItemStyle}"
Margin="0,0,10,0" ToolTip="Visualizer refresh rate">
<ComboBoxItem Content="Off"/>
<ComboBoxItem Content="30 FPS"/>
<ComboBoxItem Content="60 FPS"/>
</ComboBox>
<Button x:Name="BtnTheme" Content="🌃 Neon Dream" Width="120" Height="36"
Style="{StaticResource IconButton}" Margin="0,0,10,0"
Background="{DynamicResource ThemeGlassBrush}"/>
<Button x:Name="BtnTray" Content="▾" Width="36" Height="36"
Style="{StaticResource IconButton}" Margin="0,0,5,0" ToolTip="Hide to tray"/>
<Button x:Name="BtnMainToMini" Content="🗗" Width="36" Height="36"
Style="{StaticResource IconButton}" Margin="0,0,5,0"/>
<Button x:Name="BtnMinimize" Content="—" Width="36" Height="36"
Style="{StaticResource IconButton}" Margin="0,0,5,0"/>
<Button x:Name="BtnClose" Content="✕" Width="36" Height="36"
Style="{StaticResource IconButton}" Foreground="#FF4D4D"/>
</StackPanel>
</Grid>
<Grid x:Name="PlayerViewPanel" Grid.Row="1" Visibility="Visible">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Margin="40,0,40,0" ClipToBounds="False">
<ComboBox x:Name="CmbVisualizerMode" Width="250" Height="36"
HorizontalAlignment="Right" VerticalAlignment="Top"
Panel.ZIndex="10"
Style="{StaticResource GlassComboBoxStyle}"
ItemContainerStyle="{StaticResource GlassComboBoxItemStyle}"
Margin="0,10,0,0" SelectedIndex="10">
<ComboBoxItem Content="1. Neon Blocks"/>
<ComboBoxItem Content="2. Cyber Wave"/>
<ComboBoxItem Content="3. Classic Oscilloscope"/>
<ComboBoxItem Content="4. Mirror Bars"/>
<ComboBoxItem Content="5. Classic Circular Wave"/>
<ComboBoxItem Content="6. Smoothed Blocks"/>
<ComboBoxItem Content="7. Fracture Bars"/>
<ComboBoxItem Content="8. Liquid Oscilloscope"/>
<ComboBoxItem Content="9. Orbital Galaxy"/>
<ComboBoxItem Content="10. Hyperspace Tunnel"/>
<ComboBoxItem Content="11. Particle Reactor"/>
<ComboBoxItem Content="12. Classic CRT"/>
<ComboBoxItem Content="13. Synthwave Horizon"/>
<ComboBoxItem Content="14. Aero Aurora"/>
<ComboBoxItem Content="15. Pulse Rings"/>
<ComboBoxItem Content="16. Neon DNA"/>
<ComboBoxItem Content="17. Spectrum Mountains"/>
<ComboBoxItem Content="-- Karaoke Mode --"/>
</ComboBox>
<Grid VerticalAlignment="Bottom" Height="250" Margin="0,0,0,10">
<Canvas x:Name="VisualizerCanvas" ClipToBounds="False" Height="150" VerticalAlignment="Top"/>
<Rectangle Height="70" VerticalAlignment="Top" Margin="0,150,0,0" Opacity="0.3" RenderTransformOrigin="0.5,0.5">
<Rectangle.RenderTransform>
<ScaleTransform ScaleY="-1"/>
</Rectangle.RenderTransform>
<Rectangle.Fill>
<VisualBrush Visual="{Binding ElementName=VisualizerCanvas}" Stretch="None" AlignmentY="Bottom"/>
</Rectangle.Fill>
<Rectangle.OpacityMask>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="#00FFFFFF" Offset="0"/>
<GradientStop Color="#FFFFFFFF" Offset="1"/>
</LinearGradientBrush>
</Rectangle.OpacityMask>
</Rectangle>
</Grid>
<TextBlock x:Name="TxtBigKaraokeLyrics" Foreground="White" FontSize="28"
FontWeight="Bold" TextAlignment="Center" TextWrapping="Wrap"
Width="700" HorizontalAlignment="Center" VerticalAlignment="Center"
Visibility="Collapsed">
<TextBlock.Effect>
<DropShadowEffect BlurRadius="15" Color="Black" Opacity="0.8"/>
</TextBlock.Effect>
</TextBlock>
</Grid>
<Grid Grid.Row="1" Margin="40,0,40,20">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="170"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0" Width="165" Height="140" HorizontalAlignment="Left">
<Ellipse Width="135" Height="135" Fill="#0D0D0D"
HorizontalAlignment="Right" VerticalAlignment="Center"
Margin="0,0,5,0" RenderTransformOrigin="0.5,0.5">
<Ellipse.Effect>
<DropShadowEffect BlurRadius="15" Color="Black" Opacity="0.5"/>
</Ellipse.Effect>
<Ellipse.RenderTransform>
<RotateTransform x:Name="VinylRotation" Angle="0"/>
</Ellipse.RenderTransform>
<Ellipse.Stroke>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#222" Offset="0"/>
<GradientStop Color="#555" Offset="0.5"/>
<GradientStop Color="#222" Offset="1"/>
</LinearGradientBrush>
</Ellipse.Stroke>
</Ellipse>
<Border Width="140" Height="140" CornerRadius="12"
Background="#1C1C1E" HorizontalAlignment="Left">
<Border.Effect>
<DropShadowEffect BlurRadius="20" ShadowDepth="5" Color="Black" Opacity="0.6"/>
</Border.Effect>
<Border CornerRadius="12" ClipToBounds="True">
<Image x:Name="ImgAlbumCover" Stretch="Uniform"
HorizontalAlignment="Center" VerticalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality"/>
</Border>
</Border>
</Grid>
<Grid Grid.Column="1" Margin="20,0,0,0" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<TextBlock x:Name="TxtNowPlayingTitle" Text="SoundVibe"
Foreground="White" FontSize="32" FontWeight="Bold"
HorizontalAlignment="Left" TextTrimming="CharacterEllipsis"
MaxWidth="450"/>
</Grid>
<TextBlock x:Name="TxtNowPlayingArtist" Grid.Row="1"
Text="Waiting for music..." Foreground="{DynamicResource ThemeAccentBrush}"
FontSize="16" Margin="0,5,0,0"
TextTrimming="CharacterEllipsis"/>
<TextBlock x:Name="TxtMetaData" Grid.Row="2"
Text="MP3 • 320 kbps • 44.1 kHz" Foreground="#607D8B"
FontSize="12" Margin="0,15,0,15"/>
<Grid Grid.Row="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock x:Name="TxtCurrentTime" Grid.Column="0" Text="0:00"
Foreground="#B0C4DE" FontSize="12"
VerticalAlignment="Center" Margin="0,0,15,0"/>
<Slider x:Name="SldTimeline" Grid.Column="1" Maximum="100" Value="0"
IsMoveToPointEnabled="True"
Style="{StaticResource PremiumSliderStyle}"/>
<TextBlock x:Name="TxtTotalTime" Grid.Column="2" Text="0:00"
Foreground="#B0C4DE" FontSize="12"
VerticalAlignment="Center" Margin="15,0,0,0"/>
</Grid>
</Grid>
</Grid>
<Grid Grid.Row="2" Margin="40,0,40,10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
<Button x:Name="BtnShuffle" Content="🔀" FontSize="18" Width="40" Height="40"
Style="{StaticResource IconButton}" Margin="0,0,15,0"
Foreground="{DynamicResource ThemeAccentBrush}"/>
<Button x:Name="BtnPrev" Content="⏮" FontSize="20" Width="45" Height="45"
Style="{StaticResource IconButton}" Margin="0,0,15,0"/>
<Border Width="56" Height="56" CornerRadius="28" Margin="0,0,15,0" Background="{DynamicResource ThemeSliderGradient}">
<Border.Effect>
<DropShadowEffect x:Name="PlayGlow" BlurRadius="20"
Color="Black" Opacity="0.5" ShadowDepth="0"/>
</Border.Effect>
<Button x:Name="BtnPlayPause" Content="▶" FontSize="22"
Foreground="White" Background="Transparent"
BorderThickness="0" Cursor="Hand"/>
</Border>
<Button x:Name="BtnNext" Content="⏭" FontSize="20" Width="45" Height="45"
Style="{StaticResource IconButton}" Margin="0,0,15,0"/>
<Button x:Name="BtnRepeat" Content="🔁" FontSize="18" Width="40" Height="40"
Style="{StaticResource IconButton}"/>
</StackPanel>
<StackPanel Grid.Column="2" Orientation="Horizontal"
HorizontalAlignment="Right" VerticalAlignment="Center">
<TextBlock Text="🔊" FontSize="16" Foreground="#B0C4DE"
VerticalAlignment="Center" Margin="0,0,10,0"/>
<Slider x:Name="SldVolume" Width="100" Maximum="100" Value="50"
VerticalAlignment="Center" Style="{StaticResource PremiumSliderStyle}"/>
<TextBlock Text="{Binding Value, ElementName=SldVolume, StringFormat={}{0:0}%}"
Foreground="#607D8B" FontSize="11"
VerticalAlignment="Center" Margin="8,0,0,0" Width="30"/>
</StackPanel>
</Grid>
<Grid Grid.Row="3" Margin="40,5,40,25" Height="50">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border x:Name="QueueCard" Grid.Column="0" Background="{DynamicResource ThemeGlassBrush}" CornerRadius="10"
Margin="0,0,10,0" Padding="15,0" Cursor="Hand" ToolTip="Open queue">
<Grid>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<TextBlock Text="🎵" Foreground="#90A4AE" FontSize="14" Margin="0,0,10,0"/>
<TextBlock Text="QUEUE" Foreground="#B0C4DE"
FontSize="11" FontWeight="Bold" VerticalAlignment="Center"/>
</StackPanel>
<Border Background="#20FFFFFF" CornerRadius="5"
HorizontalAlignment="Right" VerticalAlignment="Center"
Padding="8,4">
<TextBlock x:Name="TxtQueueCount" Text="0"
Foreground="White" FontSize="11" FontWeight="Bold"/>
</Border>
</Grid>
</Border>
<Border Grid.Column="1" Background="{DynamicResource ThemeGlassBrush}" CornerRadius="10"
Margin="5,0,5,0" Padding="15,0">
<Grid VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0,0,0,3">
<TextBlock Text="❝" Foreground="{DynamicResource ThemeAccentBrush}" FontSize="12" Margin="0,0,5,0"/>
<TextBlock Text="LYRICS" Foreground="#B0C4DE" FontSize="10" FontWeight="Bold"/>
<Button x:Name="BtnLyricMinus" Content="−" Width="20" Height="18" Margin="10,0,2,0" Style="{StaticResource IconButton}" ToolTip="Lyrics -100 ms"/>
<TextBlock x:Name="TxtLyricOffset" Text="+200ms" Foreground="#607D8B" FontSize="9" VerticalAlignment="Center"/>
<Button x:Name="BtnLyricPlus" Content="+" Width="20" Height="18" Margin="2,0,0,0" Style="{StaticResource IconButton}" ToolTip="Lyrics +100 ms"/>
</StackPanel>
<TextBlock Grid.Row="1" x:Name="TxtWidgetLyrics" Text="♪ Lirik Bulunamadı ♪"
Foreground="{DynamicResource ThemeAccentBrush}" FontSize="13"
TextTrimming="CharacterEllipsis"/>
</Grid>
</Border>
<Border Grid.Column="2" Background="{DynamicResource ThemeGlassBrush}" CornerRadius="10"
Margin="10,0,0,0" Padding="15,0">
<Grid>
<StackPanel VerticalAlignment="Center">
<StackPanel Orientation="Horizontal" Margin="0,0,0,3">
<TextBlock Text="🎚" Foreground="#90A4AE" FontSize="12" Margin="0,0,5,0"/>
<TextBlock Text="EQUALIZER" Foreground="#B0C4DE"
FontSize="10" FontWeight="Bold"/>
</StackPanel>
<TextBlock Text="Custom Preset" Foreground="{DynamicResource ThemeAccentLightBrush}" FontSize="12"/>
</StackPanel>