2014-07-29 20:35:59 +00:00
|
|
|
<Application x:Class="RainmeterStudio.UI.App"
|
2014-07-26 07:12:56 +00:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
2014-07-29 20:35:59 +00:00
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
2014-07-26 07:12:56 +00:00
|
|
|
<Application.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
2014-07-29 20:35:59 +00:00
|
|
|
<ResourceDictionary Source="Styles/Common.xaml" />
|
2014-07-26 07:12:56 +00:00
|
|
|
</ResourceDictionary.MergedDictionaries>
|
2014-07-27 13:21:06 +00:00
|
|
|
|
|
|
|
<Style TargetType="ToolBar">
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="ToolBarTray">
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Style x:Key="CommandMenuItemStyle" TargetType="MenuItem">
|
|
|
|
<Setter Property="Command" Value="{Binding}" />
|
|
|
|
<Setter Property="Header" Value="{Binding DisplayText}" />
|
|
|
|
<Setter Property="ToolTip" Value="{Binding ToolTip}" />
|
|
|
|
<Setter Property="InputGestureText" Value="{Binding ShortcutText}" />
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Style x:Key="CommandButtonStyle" TargetType="ButtonBase">
|
|
|
|
<Setter Property="Command" Value="{Binding}" />
|
|
|
|
<Setter Property="ToolTip" Value="{Binding ToolTip}" />
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
|
|
<Setter Property="Opacity" Value=".5" />
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Style x:Key="CommandAutoHideButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource CommandButtonStyle}">
|
|
|
|
<Style.Triggers>
|
|
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
|
|
<Setter Property="Visibility" Value="Collapsed" />
|
|
|
|
</Trigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
|
2014-07-26 07:12:56 +00:00
|
|
|
</ResourceDictionary>
|
|
|
|
</Application.Resources>
|
|
|
|
</Application>
|