<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:pmrk="clr-namespace:Playnite.FullscreenApp.Markup;assembly=Playnite.FullscreenApp">

        <Style x:Key="MainMenuBorder"
               TargetType="Border">
                <Setter Property="Background"
                        Value="{DynamicResource OverlayMenuBackgroundBrush}"/>
        </Style>

        <Style x:Key="MainMenuButton"
               BasedOn="{StaticResource {x:Type ButtonEx}}"
               TargetType="ButtonEx">
                <Setter Property="Margin"
                        Value="0,5,0,5"/>
                <Setter Property="Padding"
                        Value="20,3,20,3"/>
                <Setter Property="HorizontalAlignment"
                        Value="Stretch"/>
                <Setter Property="HorizontalContentAlignment"
                        Value="Left"/>
        </Style>

        <DataTemplate x:Key="MainMenuHeaderTemplate">
                <StackPanel Orientation="Horizontal"
                            HorizontalAlignment="Left"
                            Margin="20,30,40,30">
                        <Image Source="{pmrk:ThemeFile 'Images/applogo_clean.png'}"
                               Height="48"
                               RenderOptions.BitmapScalingMode="Fant"/>
                        <TextBlock Text="Melcosoft"
                                   FontSize="36"
                                   Style="{DynamicResource TextBlockBaseStyle}"
                                   Margin="20,0,0,0"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuSettingsButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xef3a;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCSettingsLabel}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuLibUpdateButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xefd1;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuReloadLibrary}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuCancelLibUpdateButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xecb1;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuCancelLibraryUpdate}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuExitPlayniteButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xef16;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCExitPlaynite}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuSwithDesktopButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xef1d;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCBackToDesktopMode}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuRandomGameButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xefcf;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuSelectRandomGame}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuShutdowButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xefc4;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuShutdownSystem}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuSuspendButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xef9e;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuSuspendSystem}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuHibernateButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xefc4;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuHibernateSystem}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuRestartButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xef80;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuRestartSystem}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuHelpButtonTemplate">

                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xefca;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuHelpTitle}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuPatreonButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{DynamicResource LOCMenuPatreonSupport}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuKofiButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{DynamicResource LOCMenuKofiSupport}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuMelcosoftMAButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{DynamicResource LOCMenuMelcosoftMA}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuMelcosoftHelpButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{DynamicResource LOCMenuMelcosoftHelp}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuMelcosoftCommunityButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{DynamicResource LOCMenuMelcosoftCommunity}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuMelcosoftMainButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{DynamicResource LOCMenuMelcosoftMain}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuMinimizeButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{DynamicResource LOCMinimize}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuLockSystemButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xef7a;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuLockSystem}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuLogoutUserButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xefe9;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuLogoutUser}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuClientsButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xec84;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuOpenClient}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuToolsButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xf013;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCMenuTools}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>

        <DataTemplate x:Key="MainMenuExtensionsButtonTemplate">
                <StackPanel Orientation="Horizontal">
                        <TextBlock Text="&#xefc7;"
                                   FontFamily="{DynamicResource FontIcoFont}"
                                   FontSize="24"
                                   VerticalAlignment="Center"
                                   HorizontalAlignment="Center"
                                   Margin="0,0,10,0"/>
                        <TextBlock Text="{DynamicResource LOCExtensions}"
                                   VerticalAlignment="Center"/>
                </StackPanel>
        </DataTemplate>
</ResourceDictionary>
