예제 #1
0
        public bool ChangeDisplayMode(int x, int y, int width, int height)
        {
            CheckState();
            var success = Navigator.navigator_window_cover_attribute_set_capture(handle, x, y, width, height) == BPS.BPS_SUCCESS;

            if (success)
            {
                mode = WindowCoverMode.Capture;
            }
            return(success);
        }
예제 #2
0
        public bool ChangeDisplayMode(string file)
        {
            CheckState();
            var success = Navigator.navigator_window_cover_attribute_set_file(handle, file) == BPS.BPS_SUCCESS;

            if (success)
            {
                mode = WindowCoverMode.File;
            }
            return(success);
        }
예제 #3
0
        public bool ChangeDisplayMode(bool live)
        {
            CheckState();
            var success = (live ? Navigator.navigator_window_cover_attribute_set_live(handle) : Navigator.navigator_window_cover_attribute_set_alternate_window(handle)) == BPS.BPS_SUCCESS;

            if (success)
            {
                mode = live ? WindowCoverMode.Live : WindowCoverMode.AlternateWindow;
            }
            return(success);
        }
예제 #4
0
 public bool ChangeDisplayMode(int x, int y, int width, int height)
 {
     CheckState();
     var success = Navigator.navigator_window_cover_attribute_set_capture(handle, x, y, width, height) == BPS.BPS_SUCCESS;
     if (success)
     {
         mode = WindowCoverMode.Capture;
     }
     return success;
 }
예제 #5
0
 public bool ChangeDisplayMode(string file)
 {
     CheckState();
     var success = Navigator.navigator_window_cover_attribute_set_file(handle, file) == BPS.BPS_SUCCESS;
     if (success)
     {
         mode = WindowCoverMode.File;
     }
     return success;
 }
예제 #6
0
 public bool ChangeDisplayMode(bool live)
 {
     CheckState();
     var success = (live ? Navigator.navigator_window_cover_attribute_set_live(handle) : Navigator.navigator_window_cover_attribute_set_alternate_window(handle)) == BPS.BPS_SUCCESS;
     if (success)
     {
         mode = live ? WindowCoverMode.Live : WindowCoverMode.AlternateWindow;
     }
     return success;
 }