diff options
| author | Michael <[email protected]> | 2017-01-08 09:57:10 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-01-08 09:57:10 -0500 |
| commit | f30dcf5ef41d54c588d7b42c48be8d941abba72e (patch) | |
| tree | 7705f99b965673b1c034ac2b1c56e65072c827df /ShiftOS.Wpf/App.xaml | |
| parent | 69dfad54724d4176dfce238a8d7e73970e6eef24 (diff) | |
| download | shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.tar.gz shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.tar.bz2 shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.zip | |
Initial upload
Diffstat (limited to 'ShiftOS.Wpf/App.xaml')
| -rw-r--r-- | ShiftOS.Wpf/App.xaml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/ShiftOS.Wpf/App.xaml b/ShiftOS.Wpf/App.xaml new file mode 100644 index 0000000..c958acd --- /dev/null +++ b/ShiftOS.Wpf/App.xaml @@ -0,0 +1,60 @@ +<Application x:Class="ShiftOS.Wpf.App" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="clr-namespace:ShiftOS.Wpf" + xmlns:sys="clr-namespace:System;assembly=mscorlib" + StartupUri="Desktop.xaml" + Startup="Application_Startup" + Exit="Application_Exit"> + + <Application.Resources> + <SolidColorBrush x:Key="desktoppanelbg" Color="Gray"></SolidColorBrush> + <sys:Double x:Key="desktoppanelheight">24</sys:Double> + <VerticalAlignment x:Key="desktoppanelpos">Bottom</VerticalAlignment> + <ObjectDataProvider x:Key="desktopbackground" ObjectType="{x:Type local:SkinFrontend}" MethodName="GetDesktopBrush"></ObjectDataProvider> + <Binding ElementName="This" Source="{StaticResource desktopbackground}" Path="" UpdateSourceTrigger="PropertyChanged" x:Key="desktopbackgroundbind"></Binding> + + <Style x:Key="ShiftedListBox" TargetType="ListBox"> + <Setter Property="Padding" Value="5"/> + <Setter Property="Background" Value="{DynamicResource TerminalBG}"/> + <Setter Property="Foreground" Value="{DynamicResource TerminalFG}"/> + + </Style> + + <Style TargetType="WrapPanel" x:Key="Toolbar"> + <Setter Property="Background" Value="{DynamicResource MenuBG}"></Setter> + </Style> + + <Style TargetType="Button" x:Key="ToolbarButton"> + <Style.Triggers> + <Trigger Property="IsPressed" Value="True"> + <Setter Property="Background" Value="{DynamicResource MenuItemPressed}"></Setter> + <Setter Property="Foreground" Value="{DynamicResource MenuItemPressedText}"></Setter> + </Trigger> + + + </Style.Triggers> + <Setter Property="Width" Value="Auto"></Setter> + <Setter Property="Height" Value="Auto"></Setter> + <Setter Property="BorderThickness" Value="0"></Setter> + <Setter Property="FocusVisualStyle"> + <Setter.Value> + <Style TargetType="Button"> + <Setter Property="Background" Value="{DynamicResource MenuItemHover}"></Setter> + <Setter Property="Foreground" Value="{DynamicResource MenuItemHoverText}"></Setter> + </Style> + </Setter.Value> + </Setter> + <Setter Property="Visibility" Value="Visible"></Setter> + <Setter Property="Margin" Value="3"></Setter> + <Setter Property="Background" Value="{DynamicResource MenuItem}"></Setter> + <Setter Property="Foreground" Value="{DynamicResource MenuItemText}"></Setter> + + </Style> + + <Style TargetType="ListBox"> + <Setter Property="Background" Value="{DynamicResource TerminalBG}"></Setter> + <Setter Property="Foreground" Value="{DynamicResource TerminalFG}"></Setter> + </Style> + </Application.Resources> +</Application> |
