Fancy network signal animation.
authorStephaneLenclud
Mon, 09 Feb 2015 20:13:28 +0100
changeset 119bf99a9f669d9
parent 118 606c22398045
child 120 300f44b7f0cc
Fancy network signal animation.
Server/MainForm.cs
     1.1 --- a/Server/MainForm.cs	Mon Feb 09 20:06:30 2015 +0100
     1.2 +++ b/Server/MainForm.cs	Mon Feb 09 20:13:28 2015 +0100
     1.3 @@ -247,10 +247,10 @@
     1.4  			{				
     1.5  				int iconCount=iDisplay.IconCount(Display.TMiniDisplayIconType.EMiniDisplayIconNetworkSignal);
     1.6  				iLastNetworkIconIndex++;
     1.7 -				iLastNetworkIconIndex = iLastNetworkIconIndex % (iconCount+1);
     1.8 +				iLastNetworkIconIndex = iLastNetworkIconIndex % (iconCount*2);
     1.9  				for (int i=0;i<iconCount;i++)
    1.10  				{
    1.11 -					if (i < iLastNetworkIconIndex)
    1.12 +					if (i < iLastNetworkIconIndex && !(i == 0 && iLastNetworkIconIndex > 3) && !(i == 1 && iLastNetworkIconIndex > 4))
    1.13  					{
    1.14  						iDisplay.SetIconOn(Display.TMiniDisplayIconType.EMiniDisplayIconNetworkSignal,i);
    1.15  					}