aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Ava/UI/Windows/ContentDialogOverlayWindow.axaml.cs
blob: 2b12d72f1d0e08d0b67b6ac681b30b6fad72e983 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                        
                     
                                




                                                                     
 
                                                     
                                                                                  





                                                                 
 
using Avalonia.Controls;
using Avalonia.Media;

namespace Ryujinx.Ava.UI.Windows
{
    public partial class ContentDialogOverlayWindow : StyleableWindow
    {
        public ContentDialogOverlayWindow()
        {
            InitializeComponent();

            ExtendClientAreaToDecorationsHint = true;
            TransparencyLevelHint = new[] { WindowTransparencyLevel.Transparent };
            WindowStartupLocation = WindowStartupLocation.Manual;
            SystemDecorations = SystemDecorations.None;
            ExtendClientAreaTitleBarHeightHint = 0;
            Background = Brushes.Transparent;
            CanResize = false;
        }
    }
}