aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-06-21 01:59:26 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-06-21 01:59:26 +0200
commit5dc86e504cd04a1a3764561219c2a128da922484 (patch)
tree9441328fc84fe7148a399681ccce9c319b7c4675 /src/Interface.cs
parentea79505023918d26b679e523fd4c17bead567430 (diff)
divers
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 2e145bff..8e00a284 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -19,18 +19,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
-using System.Xml.Serialization;
+using System.Collections.Generic;
+using System.Diagnostics;
using System.IO;
using System.Reflection;
-using System.Diagnostics;
-using System.Collections.Generic;
-using System.Xml;
-using System.Linq;
-using System.Reflection.Emit;
-using System.CodeDom;
-using Microsoft.CSharp;
-using System.CodeDom.Compiler;
using System.Threading;
+using System.Xml;
+using System.Xml.Serialization;
using Cairo;
namespace Crow
@@ -52,6 +47,7 @@ namespace Crow
internal static bool XmlSerializerInit = false;
/// <summary> keep ressource path for debug msg </summary>
internal static string CurrentGOMLPath = "";
+ //used in templatedControl
internal static int XmlLoaderCount = 0;
public static int TabSize = 4;
@@ -325,6 +321,8 @@ namespace Crow
public void Update(){
+ CurrentInterface = this;
+
if (mouseRepeatCount > 0) {
int mc = mouseRepeatCount;
mouseRepeatCount -= mc;