-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Pharap/fix-colour-selection-oversight
Fix Colour Selection Oversight
- Loading branch information
Showing
3 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Drawing; | ||
|
||
namespace ABSpriteEditor.Sprites | ||
{ | ||
public static class SpriteColours | ||
{ | ||
private static readonly Color black = Color.FromArgb(0xFF, 0x00, 0x00, 0x00); | ||
private static readonly Color white = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF); | ||
private static readonly Color transparent = Color.FromArgb(0x00, 0x00, 0x00, 0x00); | ||
|
||
public static Color Black | ||
{ | ||
get { return black; } | ||
} | ||
|
||
public static Color White | ||
{ | ||
get { return white; } | ||
} | ||
|
||
public static Color Transparent | ||
{ | ||
get { return transparent; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters