1.1 --- a/Server/Display.cs Sun Feb 08 20:26:36 2015 +0100
1.2 +++ b/Server/Display.cs Mon Feb 09 11:09:33 2015 +0100
1.3 @@ -232,7 +232,7 @@
1.4 }
1.5
1.6 /// <summary>
1.7 - ///
1.8 + /// Set all elements of an icon to the given status.
1.9 /// </summary>
1.10 /// <param name="aIcon"></param>
1.11 /// <param name="aStatus"></param>
1.12 @@ -246,7 +246,24 @@
1.13 }
1.14
1.15 /// <summary>
1.16 - ///
1.17 + /// Set all elements of an icon to be either on or off.
1.18 + /// </summary>
1.19 + /// <param name="aIcon"></param>
1.20 + /// <param name="aOn"></param>
1.21 + public void SetIconOnOff(TMiniDisplayIconType aIcon, bool aOn)
1.22 + {
1.23 + if (aOn)
1.24 + {
1.25 + SetIconOn(aIcon);
1.26 + }
1.27 + else
1.28 + {
1.29 + SetIconOff(aIcon);
1.30 + }
1.31 + }
1.32 +
1.33 + /// <summary>
1.34 + /// Set all elements of an icon to there maximum status.
1.35 /// </summary>
1.36 /// <param name="aIcon"></param>
1.37 public void SetIconOn(TMiniDisplayIconType aIcon)
1.38 @@ -259,7 +276,7 @@
1.39 }
1.40
1.41 /// <summary>
1.42 - ///
1.43 + /// Turn off all elements of an icon.
1.44 /// </summary>
1.45 /// <param name="aIcon"></param>
1.46 public void SetIconOff(TMiniDisplayIconType aIcon)