add a viewmodel and user control for the glass music control panel.
ADD
WalletWasabi.Fluent/ViewModels/Wallets/MusicControlsViewModel.cs
+namespace WalletWasabi.Fluent.ViewModels.Wallets;
+
+public class MusicControlsViewModel : ViewModelBase
+{
+
+}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/MainView.axaml
WalletWasabi.Fluent/Views/MainView.axaml
</Panel>
</SplitView.Pane>
<Panel>
- <DockPanel>
- <Panel Background="{DynamicResource RegionColor}" DockPanel.Dock="Bottom" VerticalAlignment="Bottom"
+ <Panel>
+ <Border Background="{DynamicResource RegionColor}" IsHitTestVisible="False" />
+ <Panel Background="{DynamicResource RegionColor}" VerticalAlignment="Bottom"
Height="64">
<c:SpectrumControl Opacity="0.6" IsActive="True" />
<c:CustomBlurBehind />
<statusBar:StatusBar DataContext="{Binding StatusBar}" />
- <Border Padding="20 10" CornerRadius="4" BorderThickness="1" Background="#19FFFFFF" BorderBrush="#3CFFFFFF" Height="48" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="40 0">
- <StackPanel Orientation="Horizontal" Spacing="20">
- <TextBlock Text="Round in progress: 2m 15s remaining" VerticalAlignment="Center" />
- <Separator Classes="vertical" />
- <Button Classes="plain">
- <PathIcon Data="{StaticResource pause_regular}" />
- </Button>
- <Button Classes="plain">
- <PathIcon Data="{StaticResource stop_regular}" />
- </Button>
- </StackPanel>
- </Border>
</Panel>
<Panel>
<Panel.Styles>
<Setter Property="Margin" Value="31 36 31 0" />
</Style>
</Panel.Styles>
- <Border Background="{DynamicResource RegionColor}" IsHitTestVisible="False" />
<ContentControl ClipToBounds="False" Content="{Binding MainScreen.CurrentPage}" />
</Panel>
- </DockPanel>
+ </Panel>
</Panel>
</SplitView>
<ExperimentalAcrylicBorder DockPanel.Dock="Left" IsHitTestVisible="False" IsVisible="{Binding IsOobeBackgroundVisible}">

ADD
WalletWasabi.Fluent/Views/Wallets/MusicControlsView.axaml
+<UserControl xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:Class="WalletWasabi.Fluent.Views.Wallets.MusicControlsView">
+ <Border Padding="20 10" CornerRadius="4" BorderThickness="1" Background="#19FFFFFF" BorderBrush="#3CFFFFFF" Height="48">
+ <StackPanel Orientation="Horizontal" Spacing="20">
+ <TextBlock Text="Round in progress: 2m 15s remaining" VerticalAlignment="Center" />
+ <Separator Classes="vertical" />
+ <Button Classes="plain">
+ <PathIcon Data="{StaticResource pause_regular}" />
+ </Button>
+ <Button Classes="plain">
+ <PathIcon Data="{StaticResource stop_regular}" />
+ </Button>
+ <Separator Classes="vertical" />
+ <ProgressBar Minimum="0" Maximum="100" Value="33" />
+ </StackPanel>
+ </Border>
+</UserControl>

ADD
WalletWasabi.Fluent/Views/Wallets/MusicControlsView.axaml.cs
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Markup.Xaml;
+
+namespace WalletWasabi.Fluent.Views.Wallets;
+
+public class MusicControlsView : UserControl
+{
+ public MusicControlsView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
xmlns:wallets="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets"
xmlns:home="using:WalletWasabi.Fluent.Views.Wallets.Home"
xmlns:history="using:WalletWasabi.Fluent.Views.Wallets.Home.History"
+ xmlns:controls="clr-namespace:WalletWasabi.Fluent.Views.Wallets"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="850"
x:DataType="wallets:WalletViewModel"
x:CompileBindings="True"
</Panel.Styles>
<home:WalletTiles />
</Panel>
+ <controls:MusicControlsView DockPanel.Dock="Bottom" HorizontalAlignment="Center" Margin="0 20 0 -10" />
<Panel>
<history:HistoryTable Name="HistoryTable"
DataContext="{Binding History}"

add a viewmodel and user control for the glass music control panel.