Skip to content
Closed
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using SAM.Core.Grasshopper.Multitasker.Properties;
using SAM.Core.Multitasker;
Expand Down Expand Up @@ -73,7 +76,7 @@ public class GooMultitaskerInputParam : GH_PersistentParam<GooMultitaskerInput>
{
public override Guid ComponentGuid => new Guid("fdac916f-3e4f-4df6-8029-ea950823b4e8");

protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_Value));

public GooMultitaskerInputParam()
: base("MultitaskerInput", "MultitaskerInput", "SAM Multitasker MultitaskerInput", "Params", "SAM")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using SAM.Core.Grasshopper.Multitasker.Properties;
using SAM.Core.Multitasker;
Expand Down Expand Up @@ -41,7 +44,7 @@ public class GooMultitaskerOutputParam : GH_PersistentParam<GooMultitaskerOutput
{
public override Guid ComponentGuid => new Guid("cfc14cb0-df0a-4774-858a-7a652551b3bb");

protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_Result));

public GooMultitaskerOutputParam()
: base("MultitaskerOutput", "MultitaskerOutput", "SAM Multitasker MultitaskerOutput", "Params", "SAM")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using SAM.Core.Grasshopper.Multitasker.Properties;
using SAM.Core.Multitasker;
Expand Down Expand Up @@ -73,7 +76,7 @@ public class GooMultitaskerVariableParam : GH_PersistentParam<GooMultitaskerVari
{
public override Guid ComponentGuid => new Guid("e2a46e73-b05f-427a-9c51-f6340f9fd98f");

protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_Settings));

public GooMultitaskerVariableParam()
: base("MultitaskerVariable", "MultitaskerVariable", "SAM Multitasker MultitaskerVariable", "Params", "SAM")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Types;
using SAM.Core.Grasshopper.Multitasker.Properties;
using SAM.Core.Multitasker;
Expand Down Expand Up @@ -68,7 +71,7 @@ public class GooScriptParam : GH_PersistentParam<GooScript>
{
public override Guid ComponentGuid => new Guid("400a16f6-a61d-4848-a9d6-6f0ade098ba3");

protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_Script));

public GooScriptParam()
: base("Script", "Script", "SAM Script", "Params", "SAM")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
using SAM.Core.Grasshopper.Multitasker.Properties;
using SAM.Core.Multitasker;
Expand All @@ -24,7 +27,7 @@ public class SAMMultitaskerDefaultScripts : GH_SAMVariableOutputParameterCompone
/// <summary>
/// Provides an Icon for the component.
/// </summary>
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_ScriptLibraryGet));

public override GH_Exposure Exposure => GH_Exposure.secondary;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
using Grasshopper.Kernel.Types;
using SAM.Core.Grasshopper.Multitasker.Properties;
Expand All @@ -25,7 +28,7 @@ public class SAMMultitaskerMultitaskerInput : GH_SAMVariableOutputParameterCompo
/// <summary>
/// Provides an Icon for the component.
/// </summary>
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_ValueCreate));

public override GH_Exposure Exposure => GH_Exposure.secondary;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using SAM.Core.Grasshopper.Multitasker.Properties;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using SAM.Core.Grasshopper.Multitasker.Properties;
using SAM.Core.Multitasker;
using System;
using System.Drawing;
Expand All @@ -21,7 +24,7 @@ public class SAMMultitaskerMultitaskerMode : GH_SAMEnumComponent<MultitaskerMode
/// <summary>
/// Provides an Icon for the component.
/// </summary>
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_TasksValue));

/// <summary>
/// About SAM Enum Component
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
using Grasshopper.Kernel.Types;
using SAM.Core.Grasshopper.Multitasker.Properties;
Expand All @@ -25,7 +28,7 @@ public class SAMMultitaskerMultitaskerVariable : GH_SAMVariableOutputParameterCo
/// <summary>
/// Provides an Icon for the component.
/// </summary>
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_SettingsCreate));

public override GH_Exposure Exposure => GH_Exposure.secondary;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using Grasshopper.Kernel;
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors

using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
using SAM.Core.Grasshopper.Multitasker.Properties;
using SAM.Core.Multitasker;
Expand Down Expand Up @@ -28,7 +31,7 @@ public class SAMMultitaskerRun : GH_SAMVariableOutputParameterComponent
/// <summary>
/// Provides an Icon for the component.
/// </summary>
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_Small));
protected override Bitmap Icon => new Bitmap(new MemoryStream(Resources.SAM_GH_TasksRun));

public override GH_Exposure Exposure => GH_Exposure.secondary;

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,31 @@
<data name="SAM_Small" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\SAM_Small.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_Result" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_Result.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_Script" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_Script.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_ScriptLibraryGet" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_ScriptLibraryGet.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_Settings" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_Settings.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_SettingsCreate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_SettingsCreate.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_TasksRun" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_TasksRun.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_TasksValue" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_TasksValue.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_Value" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_Value.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="SAM_GH_ValueCreate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Icons\SAM_GH_ValueCreate.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions design/grasshopper-icons/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
__pycache__/
tests/GhIconTest/bin/
tests/GhIconTest/obj/
Loading
Loading