From 27b0aa65da35a9dec17a3690fe4f4e5096943b87 Mon Sep 17 00:00:00 2001 From: BHoMBot Date: Mon, 25 Sep 2023 14:32:00 +0100 Subject: [PATCH 01/12] Upgrade AssemblyFileVersion to 7.0.0.0 --- .ci/code/UI_Test/Properties/AssemblyInfo.cs | 4 ++-- BHoM_UI/Properties/AssemblyInfo.cs | 4 ++-- UI_Engine/Properties/AssemblyInfo.cs | 4 ++-- UI_oM/Properties/AssemblyInfo.cs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.ci/code/UI_Test/Properties/AssemblyInfo.cs b/.ci/code/UI_Test/Properties/AssemblyInfo.cs index 211dcd2..9350912 100644 --- a/.ci/code/UI_Test/Properties/AssemblyInfo.cs +++ b/.ci/code/UI_Test/Properties/AssemblyInfo.cs @@ -54,6 +54,6 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.3.0.0")] +[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyFileVersion("7.0.0.0")] diff --git a/BHoM_UI/Properties/AssemblyInfo.cs b/BHoM_UI/Properties/AssemblyInfo.cs index 01aa99b..3af873c 100644 --- a/BHoM_UI/Properties/AssemblyInfo.cs +++ b/BHoM_UI/Properties/AssemblyInfo.cs @@ -54,8 +54,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.3.0.0")] +[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyFileVersion("7.0.0.0")] diff --git a/UI_Engine/Properties/AssemblyInfo.cs b/UI_Engine/Properties/AssemblyInfo.cs index 01772ba..1d3a0a0 100644 --- a/UI_Engine/Properties/AssemblyInfo.cs +++ b/UI_Engine/Properties/AssemblyInfo.cs @@ -54,8 +54,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.3.0.0")] +[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyFileVersion("7.0.0.0")] diff --git a/UI_oM/Properties/AssemblyInfo.cs b/UI_oM/Properties/AssemblyInfo.cs index 34b1df2..b70bf91 100644 --- a/UI_oM/Properties/AssemblyInfo.cs +++ b/UI_oM/Properties/AssemblyInfo.cs @@ -54,8 +54,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.0.0.0")] -[assembly: AssemblyFileVersion("6.3.0.0")] +[assembly: AssemblyVersion("7.0.0.0")] +[assembly: AssemblyFileVersion("7.0.0.0")] From 6df8ce31c54b72c27a891edf4e6bca2f15128d94 Mon Sep 17 00:00:00 2001 From: Albin Bergh Date: Mon, 2 Oct 2023 16:27:14 +0100 Subject: [PATCH 02/12] New boolean toggle component --- BHoM_UI/BHoM_UI.csproj | 4 + BHoM_UI/Components/UI/FalseStartToggle.cs | 115 ++++++++++++++++++ BHoM_UI/Properties/Resources.Designer.cs | 14 ++- BHoM_UI/Properties/Resources.resx | 3 + .../Properties/Resources/BooleanToggle.png | Bin 0 -> 840 bytes BHoM_UI/Resources/BooleanToggle.bmp | Bin 0 -> 3382 bytes 6 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 BHoM_UI/Components/UI/FalseStartToggle.cs create mode 100644 BHoM_UI/Properties/Resources/BooleanToggle.png create mode 100644 BHoM_UI/Resources/BooleanToggle.bmp diff --git a/BHoM_UI/BHoM_UI.csproj b/BHoM_UI/BHoM_UI.csproj index 8d0b904..35e6b06 100644 --- a/BHoM_UI/BHoM_UI.csproj +++ b/BHoM_UI/BHoM_UI.csproj @@ -197,6 +197,7 @@ + @@ -228,11 +229,13 @@ + + @@ -252,6 +255,7 @@ + diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs new file mode 100644 index 0000000..a9f3054 --- /dev/null +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -0,0 +1,115 @@ +/* + * This file is part of the Buildings and Habitats object Model (BHoM) + * Copyright (c) 2015 - 2023, the respective contributors. All rights reserved. + * + * Each contributor holds copyright over their respective contributions. + * The project versioning (Git) records all such contribution source information. + * + * + * The BHoM is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3.0 of the License, or + * (at your option) any later version. + * + * The BHoM is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this code. If not, see . + */ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Reflection; +using System.ComponentModel; +using BH.oM.UI; +using BH.oM.Data.Collections; +using BH.Engine.Reflection; +using BH.Engine.Data; +using BH.Engine.Serialiser; +using System.Windows.Forms; + +namespace BH.UI.Base.Components +{ + public class FalseStartToggleCaller : Caller + { + /*************************************/ + /**** Properties ****/ + /*************************************/ + + public override System.Drawing.Bitmap Icon_24x24 { get; protected set; } = Properties.Resources.BooleanToggle; + + public override Guid Id { get; protected set; } = new Guid("e1e0d75f-41b0-4268-ae5c-a55673d77851"); + + public override string Category { get; protected set; } = "UI"; + + public override string Name { get; protected set; } = "FalseStart"; + + public override string Description { get; protected set; } = "A boolean toggle that changes to false on load."; + + public bool Value + { + get + { + return (bool)SelectedItem; + } + protected set + { + SelectedItem = value; + } + } + + + /*************************************/ + /**** Constructors ****/ + /*************************************/ + + public FalseStartToggleCaller() : base() + { + SelectedItem = false; + Description = "Boolean toggle"; + Name = ""; + OutputParams = new List() { new ParamInfo { DataType = typeof(bool), Kind = ParamKind.Output, Name = Name, Description = Description, IsRequired = true } }; + } + + + + /*************************************/ + /**** Public Method ****/ + /*************************************/ + + public override void SetItem(object value, bool sendNotification = true, bool updateOriginal = true) + { + if (updateOriginal) + m_OriginalItem = value; + SelectedItem = (bool)value; + + if (sendNotification) + { + MarkAsModified(new CallerUpdate + { + Cause = CallerUpdateCause.ItemSelected, + ComponentUpdate = new ComponentUpdate { Name = Name, Description = Description } + }); + } + } + + /*************************************/ + + public override object Run(List inputs) + { + return Value; + } + + /*************************************/ + } +} + + + + diff --git a/BHoM_UI/Properties/Resources.Designer.cs b/BHoM_UI/Properties/Resources.Designer.cs index b1b616d..23ca389 100644 --- a/BHoM_UI/Properties/Resources.Designer.cs +++ b/BHoM_UI/Properties/Resources.Designer.cs @@ -281,7 +281,19 @@ internal static System.Drawing.Bitmap BHoM_ToJSON { return ((System.Drawing.Bitmap)(obj)); } } - + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BooleanToggle + { + get + { + object obj = ResourceManager.GetObject("BooleanToggle", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/BHoM_UI/Properties/Resources.resx b/BHoM_UI/Properties/Resources.resx index fa3204a..5032b68 100644 --- a/BHoM_UI/Properties/Resources.resx +++ b/BHoM_UI/Properties/Resources.resx @@ -247,4 +247,7 @@ Resources\BHoM_Logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Resources\BooleanToggle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/BHoM_UI/Properties/Resources/BooleanToggle.png b/BHoM_UI/Properties/Resources/BooleanToggle.png new file mode 100644 index 0000000000000000000000000000000000000000..721dd65dac72e3c8279ed6a38e9263b4dd26f61e GIT binary patch literal 840 zcmV-O1GoH%P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0^LbOK~zXf)m2Mw z8bJ{4VIX7?FCwg954>&s( zS>!d3s_L$;Pfs(r{~k$@5wu%iDeHW+!5VxGK2c}DYbGQDn{&+LGxu+-TWALItU{uEDP#Xr9Lv&>_L0ILSqvV8holZwW;T01+#_H*Sv$G)DS0g5MBf?rR_4f%vvG5{qAy6%*< zit4z5#K4R>=(sV1#O&s@yGZ#;8kAuFxX1YyuENbJtK5}ErCU^%1@ux6p3kSi`4*U` zO<(y#H{U?o;C8z`CeQ_FveF8bvKU!bR8tq%8flfkkU=MuAWc(Ecwd43M1oc2D$rM^ z`;u!WOZky;&(UtR6xtFHS(droZZDZ_cWQB)fsh$>@PW4GGRf=#lDgKTZgzwcFle6V zs5D#+JEi8jMpgvaL$yTOEX^3<<2f?6h8g^Y z_xpWW1QVpI)k>2E?mb~AqMcNNZd4)CX@=1Jgrm{R5@1Z=6BE3l7NO0Qe~nXE{NNY- z*%0-slj?!rOwb(+2Cdjduh&y2C4SkekikUiF_}%q;Cu^k-{s|{Y{vR>ef=5gA0A{1 zR>R>i*=#m?3ghvZ;%tOtaftO5;wR!Y|61?Bn2i4qq0F=S0lWa;f-&B|gmcf0kI|eB Sn_(;f0000gm_x54#?Zw`LE_etx;JyM1xL@%<_@PLnpcGPUluKQDjn-|L&12NJySLSxLr z;9wF7q0kt!G&lm>q)=$g*LR%^B!og^%$Qm^0tune7=F^=2qc6;W6U^h9D#&TXpDvN zo8~x1LMSw5m*!3e5<;OdyXkPr%u*^;D_frLmI06Zw(3st}a59h(3XRzqWFR3F8nf*xCj$wg(3oxIax#z*3XRz|Zzlr@q3r$RV$Z*g8j2NO iuBTlt#|(_)(Q$tsX9dm*oE11La8}@~z*&L+tOB3FDm>c& literal 0 HcmV?d00001 From 920b1c959844db4f43921e9612bb8a288309ebe3 Mon Sep 17 00:00:00 2001 From: Albin Bergh Date: Mon, 2 Oct 2023 16:37:41 +0100 Subject: [PATCH 03/12] Update BHoM_UI/Components/UI/FalseStartToggle.cs Co-authored-by: Fraser Greenroyd --- BHoM_UI/Components/UI/FalseStartToggle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs index a9f3054..331340d 100644 --- a/BHoM_UI/Components/UI/FalseStartToggle.cs +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -48,7 +48,7 @@ public class FalseStartToggleCaller : Caller public override string Category { get; protected set; } = "UI"; - public override string Name { get; protected set; } = "FalseStart"; + public override string Name { get; protected set; } = "FalseStartToggle"; public override string Description { get; protected set; } = "A boolean toggle that changes to false on load."; From bb9c96d2505e3e656458e88feec47137a4d4f2b3 Mon Sep 17 00:00:00 2001 From: Albin Bergh Date: Mon, 2 Oct 2023 16:37:49 +0100 Subject: [PATCH 04/12] Update BHoM_UI/Components/UI/FalseStartToggle.cs Co-authored-by: Fraser Greenroyd --- BHoM_UI/Components/UI/FalseStartToggle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs index 331340d..d191f9a 100644 --- a/BHoM_UI/Components/UI/FalseStartToggle.cs +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -50,7 +50,7 @@ public class FalseStartToggleCaller : Caller public override string Name { get; protected set; } = "FalseStartToggle"; - public override string Description { get; protected set; } = "A boolean toggle that changes to false on load."; + public override string Description { get; protected set; } = "A boolean toggle that defaults to false on load."; public bool Value { From bc2c6277bebfa2f026ca0f773ff3580174007fbe Mon Sep 17 00:00:00 2001 From: Albin Bergh Date: Mon, 2 Oct 2023 16:37:55 +0100 Subject: [PATCH 05/12] Update BHoM_UI/Components/UI/FalseStartToggle.cs Co-authored-by: Fraser Greenroyd --- BHoM_UI/Components/UI/FalseStartToggle.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs index d191f9a..b628cd8 100644 --- a/BHoM_UI/Components/UI/FalseStartToggle.cs +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -72,8 +72,6 @@ protected set public FalseStartToggleCaller() : base() { SelectedItem = false; - Description = "Boolean toggle"; - Name = ""; OutputParams = new List() { new ParamInfo { DataType = typeof(bool), Kind = ParamKind.Output, Name = Name, Description = Description, IsRequired = true } }; } From a5333122ac73070eeaa8259d9682d66bcdb92ec9 Mon Sep 17 00:00:00 2001 From: Albin Bergh Date: Mon, 2 Oct 2023 16:38:00 +0100 Subject: [PATCH 06/12] Update BHoM_UI/Components/UI/FalseStartToggle.cs Co-authored-by: Fraser Greenroyd --- BHoM_UI/Components/UI/FalseStartToggle.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs index b628cd8..d7c71bc 100644 --- a/BHoM_UI/Components/UI/FalseStartToggle.cs +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -75,8 +75,6 @@ public FalseStartToggleCaller() : base() OutputParams = new List() { new ParamInfo { DataType = typeof(bool), Kind = ParamKind.Output, Name = Name, Description = Description, IsRequired = true } }; } - - /*************************************/ /**** Public Method ****/ /*************************************/ From e839e52154347f0796e9cbe81b618d74a2620278 Mon Sep 17 00:00:00 2001 From: Albin Bergh Date: Mon, 2 Oct 2023 16:38:06 +0100 Subject: [PATCH 07/12] Update BHoM_UI/Components/UI/FalseStartToggle.cs Co-authored-by: Fraser Greenroyd --- BHoM_UI/Components/UI/FalseStartToggle.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs index d7c71bc..1319c37 100644 --- a/BHoM_UI/Components/UI/FalseStartToggle.cs +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -106,6 +106,3 @@ public override object Run(List inputs) } } - - - From e8414fba58b967d071f8defff01f80be4642ada9 Mon Sep 17 00:00:00 2001 From: Fraser Greenroyd Date: Mon, 2 Oct 2023 17:45:49 +0100 Subject: [PATCH 08/12] Updates from testing --- BHoM_UI/Components/UI/FalseStartToggle.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs index 1319c37..53dd1ff 100644 --- a/BHoM_UI/Components/UI/FalseStartToggle.cs +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -48,9 +48,9 @@ public class FalseStartToggleCaller : Caller public override string Category { get; protected set; } = "UI"; - public override string Name { get; protected set; } = "FalseStartToggle"; + public override string Name { get; protected set; } = ""; - public override string Description { get; protected set; } = "A boolean toggle that defaults to false on load."; + public override string Description { get; protected set; } = ""; public bool Value { @@ -64,7 +64,6 @@ protected set } } - /*************************************/ /**** Constructors ****/ /*************************************/ From b6f4608f577b4d0af12f81df18b47a5932276556 Mon Sep 17 00:00:00 2001 From: Fraser Greenroyd Date: Tue, 3 Oct 2023 14:43:15 +0100 Subject: [PATCH 09/12] Add 2 toggle buttons --- BHoM_UI/BHoM_UI.csproj | 4 ++-- BHoM_UI/Components/UI/FalseStartToggle.cs | 8 +++++++- BHoM_UI/Properties/Resources.Designer.cs | 16 ++++++++++++++-- BHoM_UI/Properties/Resources.resx | 7 +++++-- BHoM_UI/Properties/Resources/BooleanToggle.png | Bin 840 -> 0 bytes .../Properties/Resources/BooleanToggleOff.png | Bin 0 -> 211 bytes .../Properties/Resources/BooleanToggleOn.png | Bin 0 -> 207 bytes BHoM_UI/Resources/BooleanToggle.bmp | Bin 3382 -> 0 bytes 8 files changed, 28 insertions(+), 7 deletions(-) delete mode 100644 BHoM_UI/Properties/Resources/BooleanToggle.png create mode 100644 BHoM_UI/Properties/Resources/BooleanToggleOff.png create mode 100644 BHoM_UI/Properties/Resources/BooleanToggleOn.png delete mode 100644 BHoM_UI/Resources/BooleanToggle.bmp diff --git a/BHoM_UI/BHoM_UI.csproj b/BHoM_UI/BHoM_UI.csproj index 35e6b06..d333114 100644 --- a/BHoM_UI/BHoM_UI.csproj +++ b/BHoM_UI/BHoM_UI.csproj @@ -229,13 +229,13 @@ - - + + diff --git a/BHoM_UI/Components/UI/FalseStartToggle.cs b/BHoM_UI/Components/UI/FalseStartToggle.cs index 53dd1ff..27de83c 100644 --- a/BHoM_UI/Components/UI/FalseStartToggle.cs +++ b/BHoM_UI/Components/UI/FalseStartToggle.cs @@ -33,6 +33,7 @@ using BH.Engine.Data; using BH.Engine.Serialiser; using System.Windows.Forms; +using System.Drawing; namespace BH.UI.Base.Components { @@ -42,7 +43,7 @@ public class FalseStartToggleCaller : Caller /**** Properties ****/ /*************************************/ - public override System.Drawing.Bitmap Icon_24x24 { get; protected set; } = Properties.Resources.BooleanToggle; + public override System.Drawing.Bitmap Icon_24x24 { get; protected set; } = Properties.Resources.BooleanToggleOff; public override Guid Id { get; protected set; } = new Guid("e1e0d75f-41b0-4268-ae5c-a55673d77851"); @@ -84,6 +85,11 @@ public override void SetItem(object value, bool sendNotification = true, bool up m_OriginalItem = value; SelectedItem = (bool)value; + if (Value) + Icon_24x24 = Properties.Resources.BooleanToggleOn; + else + Icon_24x24 = Properties.Resources.BooleanToggleOff; + if (sendNotification) { MarkAsModified(new CallerUpdate diff --git a/BHoM_UI/Properties/Resources.Designer.cs b/BHoM_UI/Properties/Resources.Designer.cs index 23ca389..6b688f1 100644 --- a/BHoM_UI/Properties/Resources.Designer.cs +++ b/BHoM_UI/Properties/Resources.Designer.cs @@ -285,11 +285,23 @@ internal static System.Drawing.Bitmap BHoM_ToJSON { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap BooleanToggle + internal static System.Drawing.Bitmap BooleanToggleOn { get { - object obj = ResourceManager.GetObject("BooleanToggle", resourceCulture); + object obj = ResourceManager.GetObject("BooleanToggleOn", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BooleanToggleOff + { + get + { + object obj = ResourceManager.GetObject("BooleanToggleOff", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } diff --git a/BHoM_UI/Properties/Resources.resx b/BHoM_UI/Properties/Resources.resx index 5032b68..4177e56 100644 --- a/BHoM_UI/Properties/Resources.resx +++ b/BHoM_UI/Properties/Resources.resx @@ -247,7 +247,10 @@ Resources\BHoM_Logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Resources\BooleanToggle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Resources\BooleanToggleOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Resources\BooleanToggleOn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/BHoM_UI/Properties/Resources/BooleanToggle.png b/BHoM_UI/Properties/Resources/BooleanToggle.png deleted file mode 100644 index 721dd65dac72e3c8279ed6a38e9263b4dd26f61e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 840 zcmV-O1GoH%P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0^LbOK~zXf)m2Mw z8bJ{4VIX7?FCwg954>&s( zS>!d3s_L$;Pfs(r{~k$@5wu%iDeHW+!5VxGK2c}DYbGQDn{&+LGxu+-TWALItU{uEDP#Xr9Lv&>_L0ILSqvV8holZwW;T01+#_H*Sv$G)DS0g5MBf?rR_4f%vvG5{qAy6%*< zit4z5#K4R>=(sV1#O&s@yGZ#;8kAuFxX1YyuENbJtK5}ErCU^%1@ux6p3kSi`4*U` zO<(y#H{U?o;C8z`CeQ_FveF8bvKU!bR8tq%8flfkkU=MuAWc(Ecwd43M1oc2D$rM^ z`;u!WOZky;&(UtR6xtFHS(droZZDZ_cWQB)fsh$>@PW4GGRf=#lDgKTZgzwcFle6V zs5D#+JEi8jMpgvaL$yTOEX^3<<2f?6h8g^Y z_xpWW1QVpI)k>2E?mb~AqMcNNZd4)CX@=1Jgrm{R5@1Z=6BE3l7NO0Qe~nXE{NNY- z*%0-slj?!rOwb(+2Cdjduh&y2C4SkekikUiF_}%q;Cu^k-{s|{Y{vR>ef=5gA0A{1 zR>R>i*=#m?3ghvZ;%tOtaftO5;wR!Y|61?Bn2i4qq0F=S0lWa;f-&B|gmcf0kI|eB Sn_(;f0000VM%xNb!1@J z*w6hZkrl}24DbnY1=9cj{|A!A$C?X)6mvz;VRy-~Wt{6Ix}uyG;@^7b~qvEO1a{4r>gm5WDdEqe16u v;fjx;2a7M{ZxGorRbz_X+w-dO%{SSYCo(5A`0lv_G>^g4)z4*}Q$iB}lo&#_ literal 0 HcmV?d00001 diff --git a/BHoM_UI/Properties/Resources/BooleanToggleOn.png b/BHoM_UI/Properties/Resources/BooleanToggleOn.png new file mode 100644 index 0000000000000000000000000000000000000000..f5a9e27bd84d436ac5a3edd7c5d3978ccf64871d GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM3?#3wJbMaAF%}28J29*~C-V}>VM%xNb!1@J z*w6hZkrl}24DbnY1=9cj{|A!A$C?X)6mvz@ZSi^0>?&t;ucLK6Tp#ySfC literal 0 HcmV?d00001 diff --git a/BHoM_UI/Resources/BooleanToggle.bmp b/BHoM_UI/Resources/BooleanToggle.bmp deleted file mode 100644 index 55516c7aaa3591604865d4cd18379f8f650c3104..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3382 zcmeIwA#&YN425B3CLjUbgJ57$uqM1+gO+lZkut%6E<(#F6wORPc)-i=r?4!c_Vwp; zZ3Fx2>gm_x54#?Zw`LE_etx;JyM1xL@%<_@PLnpcGPUluKQDjn-|L&12NJySLSxLr z;9wF7q0kt!G&lm>q)=$g*LR%^B!og^%$Qm^0tune7=F^=2qc6;W6U^h9D#&TXpDvN zo8~x1LMSw5m*!3e5<;OdyXkPr%u*^;D_frLmI06Zw(3st}a59h(3XRzqWFR3F8nf*xCj$wg(3oxIax#z*3XRz|Zzlr@q3r$RV$Z*g8j2NO iuBTlt#|(_)(Q$tsX9dm*oE11La8}@~z*&L+tOB3FDm>c& From 65ddbc569954436a56e49a75e2ee65c6a0af174a Mon Sep 17 00:00:00 2001 From: Fraser Greenroyd Date: Tue, 3 Oct 2023 15:08:41 +0100 Subject: [PATCH 10/12] Update toggle colours --- .../Properties/Resources/BooleanToggleOff.png | Bin 211 -> 211 bytes .../Properties/Resources/BooleanToggleOn.png | Bin 207 -> 207 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/BHoM_UI/Properties/Resources/BooleanToggleOff.png b/BHoM_UI/Properties/Resources/BooleanToggleOff.png index 1dde9896d3f2a77b87b05488a27da093aaccad5a..e663a7a9f80e56d923f70a2ede75af387ffe6f7c 100644 GIT binary patch delta 56 zcmcc2c$sm6r`{$dB?bnD)M$r%AjMn~YOHxics diff --git a/BHoM_UI/Properties/Resources/BooleanToggleOn.png b/BHoM_UI/Properties/Resources/BooleanToggleOn.png index f5a9e27bd84d436ac5a3edd7c5d3978ccf64871d..6de1e807acfd62eab7e5146879c08a3e8cbb96ce 100644 GIT binary patch delta 56 zcmX@lc%E^Br=C)W5(5K+)2fToK#I8}$S?T+e}?O)cpZUU&H|6fVg?31pb9-D##N8* JPMTOA0RY*v5i9@z delta 56 zcmX@lc%E^Br{4en{}~t Date: Fri, 3 Nov 2023 14:34:51 +0000 Subject: [PATCH 11/12] Update readme links and references --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ca6958c..938c49f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # Core BHoM_UI Repo This repo is part of the Buildings and Habitats object Model. -If you are new (_welcome!_ 👋 😄) a great place to start is on [bhom.xyz](https://bhom.xyz) or reading our [wiki here](https://github.com/BHoM/documentation/wiki) including pages like the [Structure of the BHoM](https://github.com/BHoM/documentation/wiki/Structure-of-the-BHoM) and [Using the BHoM](https://github.com/BHoM/documentation/wiki/Using-the-BHoM). +If you are new (_welcome!_ 👋 😄) a great place to start is on [bhom.xyz](https://bhom.xyz) or reading our [wiki here](https://bhom.xyz/documentation) including pages like the [Structure of the BHoM](https://bhom.xyz/documentation/Basics/Coding%20fundamentals/The-BHoM-code-organisation/) and [Using the BHoM](https://bhom.xyz/documentation/Basics/Using-the-BHoM/). This particular repo contains the parent _BHoM UI_ defining all the base functionality necessary to expose the BHoM functionality through user interfaces. @@ -22,12 +22,12 @@ Grab the [latest installer](https://bhom.xyz/) and a selection of [sample script ## Getting Started for Developers 🤖 If you want to build the BHoM and the Toolkits from source, it's hopefully easy! 😄 -Do take a look at our specific wiki pages here: [Getting Started for Developers](https://github.com/BHoM/documentation/wiki/Getting-started-for-developers) +Do take a look at our specific wiki pages here: [Getting Started for Developers](https://bhom.xyz/documentation/Contributing/Getting-started-for-developers/) ## Want to Contribute? ## -BHoM is an open-source project and would be nothing without its community. Take a look at our contributing guidelines and tips [here](https://github.com/BHoM/BHoM/blob/master/CONTRIBUTING.md). +BHoM is an open-source project and would be nothing without its community. Take a look at our contributing guidelines and tips [here](https://github.com/BHoM/BHoM/blob/main/CONTRIBUTING.md). ## Licence ## @@ -35,4 +35,4 @@ BHoM is an open-source project and would be nothing without its community. Take BHoM is free software licenced under GNU Lesser General Public Licence - [https://www.gnu.org/licenses/lgpl-3.0.html](https://www.gnu.org/licenses/lgpl-3.0.html) Each contributor holds copyright over their respective contributions. The project versioning (Git) records all such contribution source information. -See [LICENSE](https://github.com/BHoM/BHoM/blob/master/LICENSE) and [COPYRIGHT_HEADER](https://github.com/BHoM/BHoM/blob/master/COPYRIGHT_HEADER.txt). +See [LICENSE](https://github.com/BHoM/BHoM/blob/main/LICENSE) and [COPYRIGHT_HEADER](https://github.com/BHoM/BHoM/blob/main/COPYRIGHT_HEADER.txt). From fc2dfdd335898153ce94432d314c61ecbcbbca40 Mon Sep 17 00:00:00 2001 From: Al Fisher Date: Tue, 28 Nov 2023 22:04:17 +0000 Subject: [PATCH 12/12] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 938c49f..c61e7ff 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # Core BHoM_UI Repo This repo is part of the Buildings and Habitats object Model. -If you are new (_welcome!_ 👋 😄) a great place to start is on [bhom.xyz](https://bhom.xyz) or reading our [wiki here](https://bhom.xyz/documentation) including pages like the [Structure of the BHoM](https://bhom.xyz/documentation/Basics/Coding%20fundamentals/The-BHoM-code-organisation/) and [Using the BHoM](https://bhom.xyz/documentation/Basics/Using-the-BHoM/). +If you are new (_welcome!_ 👋 😄) a great place to start is on [bhom.xyz](https://bhom.xyz) and reading our [documentation](https://bhom.xyz/documentation), including our [Getting Started Pages](https://bhom.xyz/documentation/Basics/Using-the-BHoM/). This particular repo contains the parent _BHoM UI_ defining all the base functionality necessary to expose the BHoM functionality through user interfaces. @@ -22,7 +22,7 @@ Grab the [latest installer](https://bhom.xyz/) and a selection of [sample script ## Getting Started for Developers 🤖 If you want to build the BHoM and the Toolkits from source, it's hopefully easy! 😄 -Do take a look at our specific wiki pages here: [Getting Started for Developers](https://bhom.xyz/documentation/Contributing/Getting-started-for-developers/) +Do take a look at our specific wiki pages here: [Getting Started for Developers](https://bhom.xyz/documentation/Guides-and-Tutorials/Coding-with-BHoM/). ## Want to Contribute? ##