aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-01 23:31:22 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-01 23:31:22 +0100
commit47fe040bb568b4eff544bb9f287481343216373e (patch)
tree497c57cb3028d54f01d4d5748743dd0af69a77ab /src/Interface.cs
parent9fa17cdc9487e3ba92ef467c0c6d5d9941530de1 (diff)
debug and improvments
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs44
1 files changed, 5 insertions, 39 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index b6e5b3f1..9b291a32 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -42,55 +42,21 @@ namespace Crow
public static int TabSize = 4;
public static string LineBreak = "\r\n";
+ public static bool FocusOnHover = false;
+ /// <summary> Time to wait in millisecond before starting repeat loop</summary>
+ public static int DeviceRepeatDelay = 1000;
+ /// <summary> Time interval in millisecond between device event repeat</summary>
+ public static int DeviceRepeatInterval = 100;
public static bool ReplaceTabsWithSpace = false;
/// <summary> Allow rendering of interface in development environment </summary>
public static bool DesignerMode = false;
/// <summary> Threshold to catch borders for sizing </summary>
public static int BorderThreshold = 5;
- /// <summary>
- /// Graphic objects References use in dynamic delegates for binding
- /// </summary>
- public static List<object> References = new List<object> ();
- public static Queue<int> FreeRefIndices = new Queue<int> ();
public static List<ListBox> LoadingLists= new List<ListBox>();
-
- public static void Unreference (Object o)
- {
- int idxt = Interface.References.IndexOf (o);
- if (idxt < 0)
- return;
- References [idxt] = null;
- FreeRefIndices.Enqueue (idxt);
- }
-
- /// <summary> register target object reference in an array for binding CIL </summary>
- public static int Reference (object o)
- {
-
- int dstIdx = Interface.References.IndexOf (o);
-
- if (dstIdx < 0) {
- if (FreeRefIndices.Count == 0) {
- dstIdx = Interface.References.Count ();
- Interface.References.Add (o);
- } else {
- dstIdx = FreeRefIndices.Dequeue ();
- Interface.References [dstIdx] = o;
- }
- }
- return dstIdx;
- }
-
public static LayoutingQueue LayoutingQueue = new LayoutingQueue ();
#region Load/Save
-
- internal static Stack<List<DynAttribute>> GOMLResolutionStack = new Stack<List<DynAttribute>> ();
-
- internal static List<DynAttribute> GOMLResolver {
- get { return GOMLResolutionStack.Peek (); }
- }
//internal static List<DynAttribute> Bindings;