diff options
Diffstat (limited to 'src/Interface.cs')
| -rw-r--r-- | src/Interface.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs index bc0d1f98..0d97685e 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -56,6 +56,7 @@ namespace Crow FontRenderingOptions.SubpixelOrder = SubpixelOrder.Rgb; } public Interface(){ + CurrentInterface = this; CultureInfo.DefaultThreadCurrentCulture = System.Globalization.CultureInfo.InvariantCulture; } #endregion @@ -86,7 +87,7 @@ namespace Crow public static FontOptions FontRenderingOptions; #endregion - internal bool XmlLoading = true; + internal static Interface CurrentInterface; public Dictionary<string,object> Ressources = new Dictionary<string, object>(); public Queue<LayoutingQueueItem> LayoutingQueue = new Queue<LayoutingQueueItem> (); |