コード例 #1
0
        public static void Initialize(Toolkit toolkit)
        {
            engine   = toolkit.Backend;
            mainLoop = new UILoop(toolkit);

            UIThread = System.Threading.Thread.CurrentThread;

            toolkit.EnterUserCode();
        }
コード例 #2
0
ファイル: Application.cs プロジェクト: git-thinh/limada
        public static void Initialize(Toolkit tk)
        {
            if (toolkit == null)
            {
                toolkit = tk;
            }
            engine   = tk.Backend;
            mainLoop = new UILoop(tk);

            UIThread = System.Threading.Thread.CurrentThread;

            tk.EnterUserCode();
        }
コード例 #3
0
ファイル: Application.cs プロジェクト: StEvUgnIn/xwt
		public static void Initialize (string backendType)
		{			
			if (engine != null)
				return;

			toolkit = Toolkit.Load (backendType, false);
			toolkit.SetActive ();
			engine = toolkit.Backend;
			mainLoop = new UILoop (toolkit);

			UIThread = System.Threading.Thread.CurrentThread;

			toolkit.EnterUserCode ();
		}
コード例 #4
0
ファイル: Application.cs プロジェクト: wesreid/xwt
        public static void Initialize(string backendType)
        {
            if (engine != null)
            {
                return;
            }

            toolkit = Toolkit.Load(backendType, false);
            toolkit.SetActive();
            engine   = toolkit.Backend;
            mainLoop = new UILoop(toolkit);

            UIThread = System.Threading.Thread.CurrentThread;

            toolkit.EnterUserCode();
        }