Example #1
0
 public void ShowMainWindow(bool useOpacity = true)
 {
     if (useOpacity)
     {
         MainWindowOpacity(-1);
         return;
     }
     MainWindowAS.Show();
 }
Example #2
0
 public void HideMainWindow(bool useOpacity = true)
 {
     if (useOpacity)
     {
         MainWindowOpacity(0);
         return;
     }
     MainWindowAS.Hide();
 }
Example #3
0
        public int GetPixel(int x, int y)
        {
            int result;

            try
            {
                result = MainWindowAS.GetPixel(x + BlueStacks.OFFSET_X, y + BlueStacks.OFFSET_Y);
            }
            catch
            {
                result = -1;
            }
            return(result);
        }
Example #4
0
 public Bitmap CaptureFrame(bool backgroundMode)
 {
     return(MainWindowAS.CaptureFrame(backgroundMode, true));
 }
Example #5
0
 public void MainWindowOpacity(int value)
 {
     MainWindowAS.Opacity(value);
 }
Example #6
0
        public Size GetWindowSize2()
        {
            Size test = MainWindowAS.GetControlSize2();

            return(test);
        }
Example #7
0
        public Point GetMousePos()
        {
            Point mousePos = MainWindowAS.GetMousePos();

            return(mousePos);
        }