[longomatch] Add default colors for home and away teams
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add default colors for home and away teams
- Date: Mon, 7 Jul 2014 11:23:51 +0000 (UTC)
commit a9c2b66e597d5232f091987cbb668715d7203523
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed May 28 16:09:40 2014 +0200
Add default colors for home and away teams
LongoMatch.Core/Common/Color.cs | 2 ++
LongoMatch.Core/Common/Constants.cs | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Common/Color.cs b/LongoMatch.Core/Common/Color.cs
index 60a6e07..a2e99e2 100644
--- a/LongoMatch.Core/Common/Color.cs
+++ b/LongoMatch.Core/Common/Color.cs
@@ -81,6 +81,8 @@ namespace LongoMatch.Common
static public Color Grey1 = ColorFromRGB (190, 190, 190);
static public Color Grey2 = ColorFromRGB (32, 32, 32);
static public Color Green1 = ColorFromRGB (99,192,56);
+ static public Color Red1 = ColorFromRGB (255, 51, 0);
+ static public Color Blue1 = ColorFromRGB (0, 153, 255);
}
}
diff --git a/LongoMatch.Core/Common/Constants.cs b/LongoMatch.Core/Common/Constants.cs
index a6b3368..4154059 100644
--- a/LongoMatch.Core/Common/Constants.cs
+++ b/LongoMatch.Core/Common/Constants.cs
@@ -107,5 +107,8 @@ Xavier Queralt Mateu (ca)";
public const int MAX_PLAYER_ICON_SIZE = 100;
public const int MAX_SHIELD_ICON_SIZE = 100;
public const int MAX_THUMBNAIL_SIZE = 100;
+
+ public static Color HOME_COLOR = Color.Red1;
+ public static Color AWAY_COLOR = Color.Blue1;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]