Swap icons of PerformanceOverlay and PowerControl
|
|
@ -85,7 +85,7 @@ namespace PerformanceOverlay
|
|||
exitItem.Click += ExitItem_Click;
|
||||
|
||||
notifyIcon = new System.Windows.Forms.NotifyIcon(components);
|
||||
notifyIcon.Icon = Resources.traffic_light_outline;
|
||||
notifyIcon.Icon = Resources.poll;
|
||||
notifyIcon.Text = TitleWithVersion;
|
||||
notifyIcon.Visible = true;
|
||||
notifyIcon.ContextMenuStrip = contextMenu;
|
||||
|
|
@ -179,12 +179,12 @@ namespace PerformanceOverlay
|
|||
try
|
||||
{
|
||||
notifyIcon.Text = TitleWithVersion + ". RTSS Version: " + OSD.Version;
|
||||
notifyIcon.Icon = Resources.traffic_light_outline;
|
||||
notifyIcon.Icon = Resources.poll;
|
||||
}
|
||||
catch
|
||||
{
|
||||
notifyIcon.Text = TitleWithVersion + ". RTSS Not Available.";
|
||||
notifyIcon.Icon = Resources.traffic_light_outline_red;
|
||||
notifyIcon.Icon = Resources.poll_red;
|
||||
osdReset();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
<ApplicationIcon>Resources\traffic-light-outline.ico</ApplicationIcon>
|
||||
<ApplicationIcon>Resources\poll.ico</ApplicationIcon>
|
||||
<UseWPF>True</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Resources\traffic-light-outline.ico" />
|
||||
<Content Include="Resources\poll.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
8
PerformanceOverlay/Resources.Designer.cs
generated
|
|
@ -63,9 +63,9 @@ namespace PerformanceOverlay {
|
|||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon traffic_light_outline {
|
||||
internal static System.Drawing.Icon poll {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("traffic_light_outline", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("poll", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
|
@ -73,9 +73,9 @@ namespace PerformanceOverlay {
|
|||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon traffic_light_outline_red {
|
||||
internal static System.Drawing.Icon poll_red {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("traffic_light_outline_red", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("poll_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="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 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>
|
||||
<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 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>
|
||||
</root>
|
||||
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 608 B |
|
|
@ -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
|
|
@ -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>
|
||||
|
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 166 KiB |
|
|
@ -8,5 +8,7 @@
|
|||
- Add battery remaining
|
||||
- Add FPSWithBattery overlay
|
||||
- Add FPS Limit using RTSS
|
||||
- Fix ryzenadj creating console window
|
||||
- Swap icons of PerformanceOverlay and PowerControl
|
||||
|
||||
If you found it useful buy me [Ko-fi](https://ko-fi.com/ayufan).
|
||||
|
|
|
|||