예제 #1
0
        static void ActivateWindow()
        {
            XobotWindow window = (XobotWindow)activity_stack.Peek().getWindow();

            window.OnAttachedToWindow();
            window.OnVisibilityChanged(true);

            main_form.Text = window.Title ?? "XobotOS";
            control.Invalidate();
        }
예제 #2
0
        internal static XobotWindow CreateMainWindow(Context context)
        {
            XobotWindow window = new XobotWindow(context);

            if (main_activity == null)
            {
                main_window = window;
            }
            return(window);
        }
예제 #3
0
 internal static void Invoke(WindowAction action)
 {
     mutex.WaitOne();
     if (activity_stack.Count > 0)
     {
         XobotWindow window = (XobotWindow)activity_stack.Peek().getWindow();
         action(window);
     }
     mutex.ReleaseMutex();
 }
예제 #4
0
		internal static void RequestLayout (XobotWindow window)
		{
			window.PerformLayout (control.Left, control.Top, control.Right, control.Bottom);
		}
예제 #5
0
		internal static void RequestInvalidate (XobotWindow window)
		{
			control.RequestInvalidate ();
		}
예제 #6
0
		internal static XobotWindow CreateMainWindow (Context context)
		{
			XobotWindow window = new XobotWindow (context);
			if (main_activity == null) {
				main_window = window;
			}
			return window;
		}
예제 #7
0
 internal static void RequestLayout(XobotWindow window)
 {
     window.PerformLayout(control.Left, control.Top, control.Right, control.Bottom);
 }
예제 #8
0
 internal static void RequestInvalidate(XobotWindow window)
 {
     control.RequestInvalidate();
 }
예제 #9
0
파일: View.cs 프로젝트: hakeemsm/XobotOS
			internal AttachInfo (XobotWindow window)
			{
				mHandler = new android.os.Handler ();
			}