mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
[WIP] Changing Icon lib libraries
The current Icon Library is old and I haven't been using it properly :). I need to use something different and the IconExtractor library is still being updated whereas the IconLib.Unofficial isn't any longer.
This commit is contained in:
@ -5,7 +5,7 @@ using HeliosPlus.ShellExtension.Resources;
|
||||
|
||||
namespace HeliosPlus.ShellExtension
|
||||
{
|
||||
internal class HeliosDisplayManagement
|
||||
internal class HeliosPlus
|
||||
{
|
||||
public static void Open(
|
||||
HeliosStartupAction action = HeliosStartupAction.None,
|
||||
|
@ -17,15 +17,15 @@ namespace HeliosPlus.ShellExtension
|
||||
{
|
||||
var profileMenu = new ToolStripMenuItem(profile.Name, new ProfileIcon(profile).ToBitmap(16, 16));
|
||||
profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Apply, null,
|
||||
(sender, args) => HeliosDisplayManagement.Open(HeliosStartupAction.SwitchProfile, profile))
|
||||
(sender, args) => HeliosPlus.Open(HeliosStartupAction.SwitchProfile, profile))
|
||||
{
|
||||
Enabled = profile.IsPossible && !profile.IsActive
|
||||
});
|
||||
profileMenu.DropDownItems.Add(new ToolStripSeparator());
|
||||
profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Edit, null,
|
||||
(sender, args) => HeliosDisplayManagement.Open(HeliosStartupAction.EditProfile, profile)));
|
||||
(sender, args) => HeliosPlus.Open(HeliosStartupAction.EditProfile, profile)));
|
||||
profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut, null,
|
||||
(sender, args) => HeliosDisplayManagement.Open(HeliosStartupAction.CreateShortcut, profile)));
|
||||
(sender, args) => HeliosPlus.Open(HeliosStartupAction.CreateShortcut, profile)));
|
||||
|
||||
return profileMenu;
|
||||
}
|
||||
@ -55,7 +55,7 @@ namespace HeliosPlus.ShellExtension
|
||||
Properties.Resources.Icon_x16,
|
||||
(sender, args) =>
|
||||
{
|
||||
HeliosDisplayManagement.Open();
|
||||
HeliosPlus.Open();
|
||||
}));
|
||||
explorerMenu.Items.Add(extensionMenu);
|
||||
explorerMenu.Items.Add(new ToolStripSeparator());
|
||||
@ -66,7 +66,7 @@ namespace HeliosPlus.ShellExtension
|
||||
Properties.Resources.Icon_x16,
|
||||
(sender, args) =>
|
||||
{
|
||||
HeliosDisplayManagement.Open();
|
||||
HeliosPlus.Open();
|
||||
});
|
||||
explorerMenu.Items.Add(extensionMenu);
|
||||
explorerMenu.Items.Add(new ToolStripSeparator());
|
||||
|
@ -45,7 +45,7 @@ namespace HeliosPlus.ShellExtension
|
||||
Properties.Resources.Icon_x16,
|
||||
(sender, args) =>
|
||||
{
|
||||
HeliosDisplayManagement.Open();
|
||||
HeliosPlus.Open();
|
||||
}));
|
||||
explorerMenu.Items.Add(extensionMenu);
|
||||
explorerMenu.Items.Add(new ToolStripSeparator());
|
||||
@ -59,12 +59,12 @@ namespace HeliosPlus.ShellExtension
|
||||
var profileMenu = new ToolStripMenuItem(profile.Name, new ProfileIcon(profile).ToBitmap(16, 16));
|
||||
profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Run, null,
|
||||
(sender, args) =>
|
||||
HeliosDisplayManagement.OpenSteamGame(HeliosStartupAction.SwitchProfile, profile,
|
||||
HeliosPlus.OpenSteamGame(HeliosStartupAction.SwitchProfile, profile,
|
||||
appId)));
|
||||
profileMenu.DropDownItems.Add(new ToolStripSeparator());
|
||||
profileMenu.DropDownItems.Add(new ToolStripMenuItem(Language.Create_Shortcut, null,
|
||||
(sender, args) =>
|
||||
HeliosDisplayManagement.OpenSteamGame(HeliosStartupAction.CreateShortcut, profile,
|
||||
HeliosPlus.OpenSteamGame(HeliosStartupAction.CreateShortcut, profile,
|
||||
appId)));
|
||||
|
||||
return profileMenu;
|
||||
|
Reference in New Issue
Block a user