Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added RetroBar/Resources/startvistaclassic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 4 additions & 27 deletions RetroBar/RetroBar.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
</PropertyGroup>

<ItemGroup>
<None Include="Resources\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</None>
<None Include="Languages\*.xaml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
Expand Down Expand Up @@ -59,33 +63,6 @@
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<None Update="Resources\startxpblue.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startnoir.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startxpbluebutton.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startxpclassic.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startxpembeddedbutton.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startxpgreenbutton.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startxproyalebutton.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startxpsilverbutton.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Resources\startxpzunebutton.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
29 changes: 29 additions & 0 deletions RetroBar/Themes/System XP.xaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="ButtonInnerHighlight" Color="Transparent" />

<BitmapImage x:Key="StartIconImage"
UriSource="../Resources/startxpclassic.png" />

<Style TargetType="Image"
x:Key="StartIcon"
BasedOn="{StaticResource StartIcon}">
<Setter Property="Margin"
Value="-2,0,2,0" />
</Style>

<Style TargetType="TextBlock"
x:Key="StartLabel"
BasedOn="{StaticResource StartLabel}">
<Setter Property="Margin"
Value="0,0,-1,1" />
</Style>

<Style TargetType="MenuItem"
x:Key="TaskManMenuItem">
<Setter Property="Header"
Value="{DynamicResource show_taskman}" />
</Style>

<Style TargetType="TextBlock"
x:Key="Clock"
BasedOn="{StaticResource Clock}">
<Setter Property="Margin"
Value="5,-1,5,0" />
</Style>
</ResourceDictionary>
22 changes: 21 additions & 1 deletion RetroBar/Themes/System.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,18 @@
</Style.Triggers>
</Style>

<Style x:Key="ClassicFocusVisual">
<Setter Property="Control.Template">
<Setter.Value>
<ControlTemplate>
<Rectangle RenderOptions.EdgeMode="Aliased" Margin="5" StrokeThickness="1"
Stroke="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"
StrokeDashOffset="1.5" StrokeDashArray="1" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

<ToolTip x:Key="StartButtonTip" Content="{DynamicResource start_button_tip}" />

<Style TargetType="ToggleButton"
Expand All @@ -476,6 +488,8 @@
Value="0,0,2,0" />
<Setter Property="HorizontalAlignment"
Value="Left" />
<Setter Property="FocusVisualStyle"
Value="{x:Null}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToggleButton">
Expand All @@ -495,7 +509,7 @@
Background="{TemplateBinding Background}"
Padding="2,1"
x:Name="ButtonInnerTopBorder">
<ContentPresenter />
<ContentPresenter Name="Content" />
</Border>
</Border>
</Border>
Expand All @@ -516,6 +530,9 @@
<Setter TargetName="ButtonInnerTopBorder"
Property="BorderBrush"
Value="{DynamicResource ButtonShadow}" />
<Setter TargetName="Content"
Property="Margin"
Value="1,1,-1,-1" />
</Trigger>
<Trigger Property="IsPressed"
Value="True">
Expand All @@ -531,6 +548,9 @@
<Setter TargetName="ButtonInnerTopBorder"
Property="BorderBrush"
Value="{DynamicResource ButtonShadow}" />
<Setter TargetName="Content"
Property="Margin"
Value="1,1,-1,-1" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
Expand Down
7 changes: 7 additions & 0 deletions RetroBar/Themes/Windows 2000.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,12 @@
<SolidColorBrush x:Key="ToolTipBackground" Color="#FFFFE1" />
<SolidColorBrush x:Key="ToolTipForeground" Color="#000000" />

<Style TargetType="TextBlock"
x:Key="StartLabel"
BasedOn="{StaticResource StartLabel}">
<Setter Property="Margin"
Value="0,-1,0,0" />
</Style>

<FontFamily x:Key="GlobalFontFamily">Tahoma</FontFamily>
</ResourceDictionary>
7 changes: 7 additions & 0 deletions RetroBar/Themes/Windows 95-98.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,12 @@

<ToolTip x:Key="StartButtonTip" Content="{DynamicResource start_button_tip_98}" />

<Style TargetType="ToggleButton"
x:Key="StartButton"
BasedOn="{StaticResource StartButton}">
<Setter Property="FocusVisualStyle"
Value="{StaticResource ClassicFocusVisual}" />
</Style>

<FontFamily x:Key="GlobalFontFamily">Microsoft Sans Serif</FontFamily>
</ResourceDictionary>
14 changes: 14 additions & 0 deletions RetroBar/Themes/Windows Me.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,19 @@
<ResourceDictionary Source="Windows 2000.xaml" />
</ResourceDictionary.MergedDictionaries>

<Style TargetType="TextBlock"
x:Key="StartLabel"
BasedOn="{StaticResource StartLabel}">
<Setter Property="Margin"
Value="0,-1,1,0" />
</Style>

<Style TargetType="ToggleButton"
x:Key="StartButton"
BasedOn="{StaticResource StartButton}">
<Setter Property="FocusVisualStyle"
Value="{StaticResource ClassicFocusVisual}" />
</Style>

<FontFamily x:Key="GlobalFontFamily">Microsoft Sans Serif</FontFamily>
</ResourceDictionary>
33 changes: 33 additions & 0 deletions RetroBar/Themes/Windows Vista Classic.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Windows XP Classic.xaml" />
</ResourceDictionary.MergedDictionaries>

<BitmapImage x:Key="StartIconImage"
UriSource="../Resources/startvistaclassic.png" />

<ToolTip x:Key="StartButtonTip"
Content="{DynamicResource start_button_tip_vista}" />

<Style TargetType="Image"
x:Key="StartIcon"
BasedOn="{StaticResource StartIcon}">
<Setter Property="Margin"
Value="-2,0,1,0" />
</Style>

<Style TargetType="TextBlock"
x:Key="StartLabel"
BasedOn="{StaticResource StartLabel}">
<Setter Property="Margin"
Value="0,0,0,1" />
</Style>

<Style TargetType="TextBlock"
x:Key="Clock"
BasedOn="{StaticResource Clock}">
<Setter Property="Margin"
Value="3,-1,5,0" />
</Style>
</ResourceDictionary>
2 changes: 2 additions & 0 deletions RetroBar/Themes/Windows XP Blue.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,8 @@
Value="99" />
<Setter Property="Height"
Value="32" />
<Setter Property="FocusVisualStyle"
Value="{x:Null}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToggleButton">
Expand Down
33 changes: 1 addition & 32 deletions RetroBar/Themes/Windows XP Classic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Windows 2000.xaml" />
<ResourceDictionary Source="System XP.xaml" />
</ResourceDictionary.MergedDictionaries>

<SolidColorBrush x:Key="ButtonInnerHighlight" Color="Transparent" />

<BitmapImage x:Key="StartIconImage"
UriSource="../Resources/startxpclassic.png" />

<Style TargetType="Image"
x:Key="StartIcon"
BasedOn="{StaticResource StartIcon}">
<Setter Property="Margin"
Value="-2,0,2,0" />
</Style>

<Style TargetType="TextBlock"
x:Key="StartLabel"
BasedOn="{StaticResource StartLabel}">
<Setter Property="Margin"
Value="0,0,-1,1" />
</Style>

<Style TargetType="MenuItem"
x:Key="TaskManMenuItem">
<Setter Property="Header"
Value="{DynamicResource show_taskman}" />
</Style>

<Style TargetType="TextBlock"
x:Key="Clock"
BasedOn="{StaticResource Clock}">
<Setter Property="Margin"
Value="5,-1,5,0" />
</Style>
</ResourceDictionary>