Skip to content

Commit

Permalink
Fix typo and misspelling in ManagedBlink1 solution
Browse files Browse the repository at this point in the history
  • Loading branch information
vejuhust committed Mar 6, 2016
1 parent 3a7fd11 commit 50b04d4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion windows/ManagedBlink1/Blink1.ColorPicker/ColorWheel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ private Point GetPoint(double degrees, double radius, Point centerPoint)
{
// Given the center of a circle and its radius, along
// with the angle corresponding to the point, find the coordinates.
// In other words, conver t from polar to rectangular coordinates.
// In other words, convert from polar to rectangular coordinates.
double radians = degrees / DEGREES_PER_RADIAN;

return new Point((int)(centerPoint.X + Math.Floor(radius * Math.Cos(radians))), (int)(centerPoint.Y - Math.Floor(radius * Math.Sin(radians))));
Expand Down
2 changes: 1 addition & 1 deletion windows/ManagedBlink1/Blink1.ConsoleDemo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static void Main(string[] args)

Thread.Sleep(1000);

Console.WriteLine("Pass 1: Set Blink(1) to be BLACK.");
Console.WriteLine("Pass 2: Set Blink(1) to be BLACK.");
blink1.SetColor(0, 0, 0);

Thread.Sleep(1000);
Expand Down
2 changes: 1 addition & 1 deletion windows/ManagedBlink1/Blink1/ColorProcessor/Hsl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public Hsl(ushort hue, ushort saturation, ushort luminance)
#region Public Properties

/// <summary>
/// Gets or sets the hue component component of the color.
/// Gets or sets the hue component of the color.
/// </summary>
public ushort Hue
{
Expand Down
12 changes: 6 additions & 6 deletions windows/ManagedBlink1/Blink1/ColorProcessor/HtmlColorName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static class HtmlColorName
#region Constants

/// <summary>
/// The alice blue.
/// The Alice blue.
/// </summary>
public const string AliceBlue = "#F0F8FF";

Expand Down Expand Up @@ -212,7 +212,7 @@ public static class HtmlColorName
public const string DarkViolet = "#9400D3";

/// <summary>
/// The darkorange.
/// The dark orange.
/// </summary>
public const string Darkorange = "#FF8C00";

Expand Down Expand Up @@ -262,7 +262,7 @@ public static class HtmlColorName
public const string Fuchsia = "#FF00FF";

/// <summary>
/// The gainsboro.
/// The Gainsboro.
/// </summary>
public const string Gainsboro = "#DCDCDC";

Expand Down Expand Up @@ -312,7 +312,7 @@ public static class HtmlColorName
public const string HotPink = "#FF69B4";

/// <summary>
/// The indian red.
/// The Indian red.
/// </summary>
public const string IndianRed = "#CD5C5C";

Expand Down Expand Up @@ -517,7 +517,7 @@ public static class HtmlColorName
public const string Moccasin = "#FFE4B5";

/// <summary>
/// The navajo white.
/// The Navajo white.
/// </summary>
public const string NavajoWhite = "#FFDEAD";

Expand Down Expand Up @@ -587,7 +587,7 @@ public static class HtmlColorName
public const string PeachPuff = "#FFDAB9";

/// <summary>
/// The peru.
/// The Peru.
/// </summary>
public const string Peru = "#CD853F";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public Rgb ToRgb()
/// Validate if the string format match the HTML hexadecimal #FFFFFF format.
/// </summary>
/// <param name="color">
/// The html color.
/// The HTML color.
/// </param>
/// <returns>
/// True if the format is valid, false otherwise.
Expand Down

0 comments on commit 50b04d4

Please sign in to comment.