Skip to content

Commit

Permalink
License info; resource readout text color
Browse files Browse the repository at this point in the history
  • Loading branch information
DMagic1 committed Feb 22, 2017
1 parent 98cba82 commit 13eee47
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
17 changes: 15 additions & 2 deletions SCANsat/SCAN_Unity/SCAN_UI_BigMap.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using System;
#region license
/*
* [Scientific Committee on Advanced Navigation]
* S.C.A.N. Satellite
*
* SCAN_UI_BigMap - UI control object for SCANsat big map
*
* Copyright (c)2014 David Grandy <david.grandy@gmail.com>;
* Copyright (c)2014 technogeeky <technogeeky@gmail.com>;
* Copyright (c)2014 (Your Name Here) <your email here>; see LICENSE.txt for licensing details.
*/
#endregion

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
Expand Down Expand Up @@ -1816,7 +1829,7 @@ private string mouseOverInfo(double lon, double lat)
if (resources)
{
infoString.Append(" ");
infoString.Append(palette.coloredNoQuote(bigmap.Resource.MaxColor, SCANuiUtil.getResourceAbundance(bigmap.Body, lat, lon, fuzzy, bigmap.Resource)));
infoString.Append(SCANuiUtil.getResourceAbundance(bigmap.Body, lat, lon, fuzzy, bigmap.Resource));
}
}

Expand Down
17 changes: 15 additions & 2 deletions SCANsat/SCAN_Unity/SCAN_UI_ZoomMap.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using System;
#region license
/*
* [Scientific Committee on Advanced Navigation]
* S.C.A.N. Satellite
*
* SCAN_UI_ZoomMap - UI control object for SCANsat zoom map
*
* Copyright (c)2014 David Grandy <david.grandy@gmail.com>;
* Copyright (c)2014 technogeeky <technogeeky@gmail.com>;
* Copyright (c)2014 (Your Name Here) <your email here>; see LICENSE.txt for licensing details.
*/
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down Expand Up @@ -1589,7 +1602,7 @@ private string mouseOverInfo(double lon, double lat)
if (resources)
{
infoString.Append(" ");
infoString.Append(palette.coloredNoQuote(spotmap.Resource.MaxColor, SCANuiUtil.getResourceAbundance(spotmap.Body, lat, lon, fuzzy, spotmap.Resource)));
infoString.Append(SCANuiUtil.getResourceAbundance(spotmap.Body, lat, lon, fuzzy, spotmap.Resource));
}
}

Expand Down

0 comments on commit 13eee47

Please sign in to comment.