Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmteo committed Mar 21, 2020
2 parents 280981f + 5142e99 commit 49b7b5c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 33 deletions.
9 changes: 3 additions & 6 deletions Luna/Windows/AboutWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,15 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:Luna.Controls"
mc:Ignorable="d"
Title="About" Width="280" WindowStyle="None" AllowsTransparency="True" Background="{x:Null}"
Title="About" Width="250" Background="{DynamicResource ButtonBackgroundBrush}"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False"
SnapsToDevicePixels="True" SizeToContent="Height">

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="45" ResizeBorderThickness="4" CornerRadius="0" NonClientFrameEdges="None" GlassFrameThickness="0" />
<WindowChrome CaptionHeight="30" ResizeBorderThickness="4" CornerRadius="0" GlassFrameThickness="-1" />
</WindowChrome.WindowChrome>

<Grid Margin="15" Background="{DynamicResource ButtonBackgroundBrush}">
<Grid.Effect>
<DropShadowEffect BlurRadius="15" Color="Black" Opacity="0.4" ShadowDepth="0" />
</Grid.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition />
Expand Down
15 changes: 6 additions & 9 deletions Luna/Windows/MessageWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,19 @@
xmlns:controls="clr-namespace:Luna.Controls"
xmlns:utils="clr-namespace:Luna.Utils"
mc:Ignorable="d"
Title="Window" Width="380" WindowStyle="None" AllowsTransparency="True" Background="{x:Null}"
Title="Window" Width="350" Background="{DynamicResource ButtonBackgroundBrush}"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False"
SnapsToDevicePixels="True" SizeToContent="Height">

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="30" ResizeBorderThickness="4" CornerRadius="0" GlassFrameThickness="-1" />
</WindowChrome.WindowChrome>

<Window.Resources>
<utils:ObjectEmptyToVisbility x:Key="ObjectEmptyToVisbility" />
</Window.Resources>

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="45" ResizeBorderThickness="4" CornerRadius="0" NonClientFrameEdges="None" GlassFrameThickness="0" />
</WindowChrome.WindowChrome>

<Grid Margin="15" Background="{DynamicResource ButtonBackgroundBrush}">
<Grid.Effect>
<DropShadowEffect BlurRadius="15" Color="Black" Opacity="0.4" ShadowDepth="0" />
</Grid.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition />
Expand Down
15 changes: 6 additions & 9 deletions Luna/Windows/SettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,20 @@
xmlns:utils="clr-namespace:Luna.Utils"
xmlns:models="clr-namespace:Luna.Models"
xmlns:controls="clr-namespace:Luna.Controls"
Title="Luna" Width="380" WindowStyle="None" AllowsTransparency="True" Background="{x:Null}"
Title="Luna" Width="350" Background="{DynamicResource ButtonBackgroundBrush}"
WindowStartupLocation="CenterScreen" ResizeMode="CanMinimize" SizeToContent="Height"
SnapsToDevicePixels="True">

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="30" ResizeBorderThickness="4" CornerRadius="0" GlassFrameThickness="-1" />
</WindowChrome.WindowChrome>

<Window.Resources>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
<utils:ObjectComparatorToVisbility x:Key="ObjectComparatorToVisbility" />
</Window.Resources>

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="45" ResizeBorderThickness="4" CornerRadius="0" NonClientFrameEdges="None" GlassFrameThickness="0" />
</WindowChrome.WindowChrome>

<Grid Margin="15" Background="{DynamicResource ButtonBackgroundBrush}">
<Grid.Effect>
<DropShadowEffect BlurRadius="15" Color="Black" Opacity="0.4" ShadowDepth="0" />
</Grid.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition Height="*" />
Expand Down
15 changes: 6 additions & 9 deletions Luna/Windows/UpdateWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
xmlns:models="clr-namespace:Luna.Models"
xmlns:controls="clr-namespace:Luna.Controls"
mc:Ignorable="d"
Title="Update" Width="320" WindowStyle="None" AllowsTransparency="True" Background="{x:Null}"
Title="Update" Width="300" Background="{DynamicResource ButtonBackgroundBrush}"
WindowStartupLocation="CenterOwner" ResizeMode="CanMinimize" ShowInTaskbar="False"
SnapsToDevicePixels="True" SizeToContent="Height">

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="30" ResizeBorderThickness="4" CornerRadius="0" GlassFrameThickness="-1" />
</WindowChrome.WindowChrome>

<Window.Resources>
<DataTemplate x:Key="CheckingTemplate">
<StackPanel>
Expand Down Expand Up @@ -61,14 +65,7 @@
</DataTemplate>
</Window.Resources>

<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="45" ResizeBorderThickness="4" CornerRadius="0" NonClientFrameEdges="None" GlassFrameThickness="0" />
</WindowChrome.WindowChrome>

<Grid Margin="15" Background="{DynamicResource ButtonBackgroundBrush}">
<Grid.Effect>
<DropShadowEffect BlurRadius="15" Color="Black" Opacity="0.4" ShadowDepth="0" />
</Grid.Effect>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition />
Expand Down

0 comments on commit 49b7b5c

Please sign in to comment.