559 lines
No EOL
27 KiB
XML
559 lines
No EOL
27 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
<Style TargetType="{x:Type Button}"
|
|
x:Key="DiscordRpcStartButton">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBlock Text="Start"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Foreground="DarkGray"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type Button}"
|
|
x:Key="DiscordRpcNewButton">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBlock Text="New"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Foreground="DarkGray"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type Button}"
|
|
x:Key="DiscordRpcSaveButton">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBlock Text="Save"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Foreground="DarkGray"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type Button}"
|
|
x:Key="DiscordRpcStopButton">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBlock Text="Stop"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Foreground="DarkGray"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormName">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Name (for List)"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormPName">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Process Name"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormClient">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Client ID"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormDetails">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Details"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormState">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="State"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormLargeImgKey">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Large Image Key"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormLargeImgTXT">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Large Image Text"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormSmallImgKey">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Small Image Key"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcFormSmallImgTXT">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Small Image Text"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type TextBox}"
|
|
x:Key="RpcSettingDefault">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
|
<Border CornerRadius="10"
|
|
Background="#353340">
|
|
<Grid>
|
|
<Rectangle StrokeThickness="1"/>
|
|
<TextBox Margin="1"
|
|
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Text, UpdateSourceTrigger=PropertyChanged}"
|
|
BorderThickness="0"
|
|
Background="Transparent"
|
|
VerticalAlignment="Center"
|
|
Padding="5"
|
|
Foreground="#cfcfcf"
|
|
x:Name="SearchBox"/>
|
|
<TextBlock IsHitTestVisible="False"
|
|
Text="Default ClientID"
|
|
VerticalAlignment="Center"
|
|
HorizontalAlignment="Left"
|
|
Margin="10,0,0,0"
|
|
FontSize="11"
|
|
Foreground="DarkGray"
|
|
Grid.Column="1">
|
|
|
|
<TextBlock.Style>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Text, ElementName=SearchBox}" Value="">
|
|
<Setter Property="Visibility" Value="Visible"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
<Setter Property="Visibility" Value="Hidden"/>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
|
|
</TextBlock>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
|
|
</Style>
|
|
|
|
</ResourceDictionary> |