[longomatch] Save key constant as integers



commit 4282157cc334ece7d808c1c5b6d4763267704cf5
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Jun 10 11:04:31 2014 +0200

    Save key constant as integers

 LongoMatch.Core/Common/Constants.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch.Core/Common/Constants.cs b/LongoMatch.Core/Common/Constants.cs
index 4154059..f51aa74 100644
--- a/LongoMatch.Core/Common/Constants.cs
+++ b/LongoMatch.Core/Common/Constants.cs
@@ -76,17 +76,17 @@ Xavier Queralt Mateu (ca)";
                public const string MANUAL = "http://www.longomatch.ylatuya.es/documentation/manual.html";;
 
 #if HAVE_GTK
-               public const ModifierType STEP = Gdk.ModifierType.ShiftMask;
+               public const int STEP = (int) Gdk.ModifierType.ShiftMask;
 
-               public const Key SEEK_BACKWARD = Gdk.Key.Left;
+               public const int SEEK_BACKWARD = (int) Gdk.Key.Left;
 
-               public const Key SEEK_FORWARD = Gdk.Key.Right;
+               public const int SEEK_FORWARD = (int) Gdk.Key.Right;
 
-               public const Key FRAMERATE_UP = Gdk.Key.Up;
+               public const int FRAMERATE_UP = (int) Gdk.Key.Up;
 
-               public const Key FRAMERATE_DOWN = Gdk.Key.Down;
+               public const int FRAMERATE_DOWN = (int) Gdk.Key.Down;
 
-               public const Key TOGGLE_PLAY = Gdk.Key.space;
+               public const int TOGGLE_PLAY = (int) Gdk.Key.space;
 #endif
 
                public const string TEMPLATES_DIR = "templates";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]