sourcegit/src/Views/CaptionButtonsMacOS.axaml

30 lines
1 KiB
Text
Raw Normal View History

<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="SourceGit.Views.CaptionButtonsMacOS">
<Grid Classes="caption_button_box">
<StackPanel Orientation="Horizontal">
<Button Classes="caption_button_macos close" Click="CloseWindow" Margin="10,0,0,0">
<Grid>
<Ellipse/>
<Path/>
</Grid>
</Button>
<Button Classes="caption_button_macos minimize" Click="MinimizeWindow">
<Grid>
<Ellipse/>
<Path/>
</Grid>
</Button>
<Button Classes="caption_button_macos maximize" Click="MaximizeOrRestoreWindow">
<Grid>
<Ellipse/>
<Path/>
</Grid>
</Button>
</StackPanel>
</Grid>
</UserControl>