Пример #1
0
        private void camDown(object sender, EventArgs e)
        {
            int wasButton = CameraRig.ConnectedCameras[CameraRig.ConfigCam].displayButton;
            int nowButton;

            if (wasButton == 1)
            {
                nowButton = 9;
            }
            else
            {
                nowButton = wasButton - 1;
            }

            CameraRig.changeDisplayButton(bubble.profileInUse, selectedWebcam, CameraRig.ConfigCam, nowButton);
            cameraSwitch(nowButton, true);
        }
Пример #2
0
        private void camDown(object sender, EventArgs e)
        {
            int wasButton = CameraRig.rig[CameraRig.drawCam].displayButton;
            int nowButton;

            if (wasButton == 1)
            {
                nowButton = 9;
            }
            else
            {
                nowButton = wasButton - 1;
            }

            CameraRig.changeDisplayButton(bubble.profileInUse, selectedWebcam, CameraRig.drawCam, nowButton);
            //cameraSwitch(nowButton, false);

            camButtons.changeDisplayButton(wasButton, nowButton);
            cameraSwitch(nowButton, true);
            //camButtonSetColours();
        }