mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Swap icons of PerformanceOverlay and PowerControl
This commit is contained in:
parent
c223a11d57
commit
e4914dbffb
15 changed files with 28 additions and 26 deletions
|
|
@ -78,7 +78,7 @@ namespace PowerControl
|
|||
exitItem.Click += ExitItem_Click;
|
||||
|
||||
notifyIcon = new System.Windows.Forms.NotifyIcon(components);
|
||||
notifyIcon.Icon = Resources.poll;
|
||||
notifyIcon.Icon = Resources.traffic_light_outline;
|
||||
notifyIcon.Text = TitleWithVersion;
|
||||
notifyIcon.Visible = true;
|
||||
notifyIcon.ContextMenuStrip = contextMenu;
|
||||
|
|
@ -194,12 +194,12 @@ namespace PowerControl
|
|||
try
|
||||
{
|
||||
notifyIcon.Text = TitleWithVersion + ". RTSS Version: " + OSD.Version;
|
||||
notifyIcon.Icon = Resources.poll;
|
||||
notifyIcon.Icon = Resources.traffic_light_outline;
|
||||
}
|
||||
catch
|
||||
{
|
||||
notifyIcon.Text = TitleWithVersion + ". RTSS Not Available.";
|
||||
notifyIcon.Icon = Resources.poll_red;
|
||||
notifyIcon.Icon = Resources.traffic_light_outline_red;
|
||||
}
|
||||
|
||||
updateOSD();
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWPF>True</UseWPF>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<ApplicationIcon>Resources\poll.ico</ApplicationIcon>
|
||||
<ApplicationIcon>Resources\traffic-light-outline.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Resources\poll.ico" />
|
||||
<Content Include="Resources\traffic-light-outline.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
8
PowerControl/Resources.Designer.cs
generated
8
PowerControl/Resources.Designer.cs
generated
|
|
@ -63,9 +63,9 @@ namespace PowerControl {
|
|||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon poll {
|
||||
internal static System.Drawing.Icon traffic_light_outline {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("poll", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("traffic_light_outline", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
|
@ -73,9 +73,9 @@ namespace PowerControl {
|
|||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon poll_red {
|
||||
internal static System.Drawing.Icon traffic_light_outline_red {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("poll_red", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("traffic_light_outline_red", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -118,10 +118,10 @@
|
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="poll" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>Resources\poll.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="traffic_light_outline" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>Resources\traffic-light-outline.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="poll_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>Resources\poll_red.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="traffic_light_outline_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>Resources\traffic-light-outline-red.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 160 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 161 KiB |
BIN
PowerControl/Resources/traffic-light-outline-red.ico
Normal file
BIN
PowerControl/Resources/traffic-light-outline-red.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 181 KiB |
BIN
PowerControl/Resources/traffic-light-outline.ico
Normal file
BIN
PowerControl/Resources/traffic-light-outline.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 166 KiB |
Loading…
Add table
Add a link
Reference in a new issue