Example #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();
        }
Example #2
0
        internal static XobotWindow CreateMainWindow(Context context)
        {
            XobotWindow window = new XobotWindow(context);

            if (main_activity == null)
            {
                main_window = window;
            }
            return(window);
        }
Example #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();
 }
Example #4
0
		internal static void RequestLayout (XobotWindow window)
		{
			window.PerformLayout (control.Left, control.Top, control.Right, control.Bottom);
		}
Example #5
0
		internal static void RequestInvalidate (XobotWindow window)
		{
			control.RequestInvalidate ();
		}
Example #6
0
		internal static XobotWindow CreateMainWindow (Context context)
		{
			XobotWindow window = new XobotWindow (context);
			if (main_activity == null) {
				main_window = window;
			}
			return window;
		}
Example #7
0
 internal static void RequestLayout(XobotWindow window)
 {
     window.PerformLayout(control.Left, control.Top, control.Right, control.Bottom);
 }
Example #8
0
 internal static void RequestInvalidate(XobotWindow window)
 {
     control.RequestInvalidate();
 }
Example #9
0
			internal AttachInfo (XobotWindow window)
			{
				mHandler = new android.os.Handler ();
			}