public void LoadView()
    {
        mBox = new UIBox(UIConstants.BoxRect, UIConstants.MainBackground);

        mBackgroundTextureLabel = new UILabel(UIConstants.RectLabelOne, UIConstants.CloudRecognition);

        string [] extendedTrackingStyle = {UIConstants.ExtendedTrackingStyleOff, UIConstants.ExtendedTrackingStyleOn};
        mExtendedTracking = new UICheckButton(UIConstants.RectOptionOne, false, extendedTrackingStyle);

        string[] aboutStyles = { UIConstants.AboutLableStyle, UIConstants.AboutLableStyle };
        mAboutLabel = new UICheckButton(UIConstants.RectLabelAbout, false, aboutStyles);

        string[] cameraFlashStyles = {UIConstants.CameraFlashStyleOff, UIConstants.CameraFlashStyleOn};
        mCameraFlashSettings = new UICheckButton(UIConstants.RectOptionThree, false, cameraFlashStyles);

        string[] autofocusStyles = {UIConstants.AutoFocusStyleOff, UIConstants.AutoFocusStyleOn};
        mAutoFocusSetting = new UICheckButton(UIConstants.RectOptionTwo, false, autofocusStyles);

        mCameraLabel = new UILabel(UIConstants.RectLabelTwo, UIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2,2] {{UIConstants.CameraFacingFrontStyleOff, UIConstants.CameraFacingFrontStyleOn},{ UIConstants.CameraFacingRearStyleOff, UIConstants.CameraFacingRearStyleOn}};
        UIRect[] cameraRect = { UIConstants.RectOptionFour, UIConstants.RectOptionFive };
        mCameraFacing = new UIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[] closeButtonStyles = {UIConstants.closeButtonStyleOff, UIConstants.closeButtonStyleOn };
        mCloseButton = new UIButton(UIConstants.CloseButtonRect, closeButtonStyles);
    }
    public void LoadView()
    {
        mBox = new UIBox(UIConstants.BoxRect, UIConstants.MainBackground);

        mImageTargetLabel = new UILabel(UIConstants.RectLabelOne, UIConstants.ImageTargetLabelStyle);

        string[] aboutStyles = { UIConstants.AboutLableStyle, UIConstants.AboutLableStyle };
        mAboutLabel = new UICheckButton(UIConstants.RectLabelAbout, false, aboutStyles);

        string[] offTargetTrackingStyles = { UIConstants.ExtendedTrackingStyleOff, UIConstants.ExtendedTrackingStyleOn };
        mExtendedTracking = new UICheckButton(UIConstants.RectOptionOne, false, offTargetTrackingStyles);

        string[] cameraFlashStyles = {UIConstants.CameraFlashStyleOff, UIConstants.CameraFlashStyleOn};
        mCameraFlashSettings = new UICheckButton(UIConstants.RectOptionThree, false, cameraFlashStyles);

        string[] autofocusStyles = {UIConstants.AutoFocusStyleOff, UIConstants.AutoFocusStyleOn};
        mAutoFocusSetting = new UICheckButton(UIConstants.RectOptionTwo, false, autofocusStyles);

        mCameraLabel = new UILabel(UIConstants.RectLabelTwo, UIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2,2] {{UIConstants.CameraFacingFrontStyleOff, UIConstants.CameraFacingFrontStyleOn},{ UIConstants.CameraFacingRearStyleOff, UIConstants.CameraFacingRearStyleOn}};
        UIRect[] cameraRect = { UIConstants.RectOptionFour, UIConstants.RectOptionFive };
        mCameraFacing = new UIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[,] datasetStyles = new string[2,2] {{UIConstants.StonesAndChipsStyleOff, UIConstants.StonesAndChipsStyleOn}, {UIConstants.TarmacOff, UIConstants.TarmacOn}};
        UIRect[] datasetRect = { UIConstants.RectOptionSix, UIConstants.RectOptionSeven};
        mDataSet = new UIRadioButton(datasetRect, 0, datasetStyles);

        mDataSetLabel = new UILabel(UIConstants.RectLabelThree, UIConstants.DatasetLabelStyle);

        string[] closeButtonStyles = {UIConstants.closeButtonStyleOff, UIConstants.closeButtonStyleOn };
        mCloseButton = new UIButton(UIConstants.CloseButtonRect, closeButtonStyles);
    }
    public void LoadView()
    {
        mBox = new UIBox(UIConstants.BoxRect, UIConstants.MainBackground);

        mVideoPlaybackLabel = new UILabel(UIConstants.RectLabelOne, UIConstants.VideoPlaybackLabelStyle);

        string[] aboutStyles = { UIConstants.AboutLableStyle, UIConstants.AboutLableStyle };
        mAboutLabel = new UICheckButton(UIConstants.RectLabelAbout, false, aboutStyles);

        string[] extendedTrackingStyles = { UIConstants.ExtendedTrackingStyleOff, UIConstants.ExtendedTrackingStyleOn };
        mExtendedTracking = new UICheckButton(UIConstants.RectOptionOne, false, extendedTrackingStyles);

        string[] cameraFlashStyles = { UIConstants.CameraFlashStyleOff, UIConstants.CameraFlashStyleOn };
        mCameraFlashSettings = new UICheckButton(UIConstants.RectOptionThree, false, cameraFlashStyles);

        string[] autofocusStyles = { UIConstants.AutoFocusStyleOff, UIConstants.AutoFocusStyleOn };
        mAutoFocusSetting = new UICheckButton(UIConstants.RectOptionTwo, false, autofocusStyles);

        mCameraLabel = new UILabel(UIConstants.RectLabelTwo, UIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2, 2] {
            { UIConstants.CameraFacingFrontStyleOff, UIConstants.CameraFacingFrontStyleOn }, { UIConstants.CameraFacingRearStyleOff, UIConstants.CameraFacingRearStyleOn }
        };
        UIRect[] cameraRect = { UIConstants.RectOptionFour, UIConstants.RectOptionFive };
        mCameraFacing = new UIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[] closeButtonStyles = { UIConstants.closeButtonStyleOff, UIConstants.closeButtonStyleOn };
        mCloseButton = new UIButton(UIConstants.CloseButtonRect, closeButtonStyles);
    }
 public void UnLoadView()
 {
     mBackgroundTextureLabel = null;
     mAboutLabel = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting = null;
 }
Beispiel #5
0
 public void UnLoadView()
 {
     mBackgroundTextureLabel = null;
     mAboutLabel             = null;
     mCameraFlashSettings    = null;
     mAutoFocusSetting       = null;
 }
Beispiel #6
0
    public void LoadView()
    {
        mBox = new UIBox(UIConstants.BoxRect, UIConstants.MainBackground);

        mHeaderLabel = new UILabel(UIConstants.RectLabelOne, UIConstants.UDTTextureStyle);

        string[] aboutStyles = { UIConstants.AboutLableStyle, UIConstants.AboutLableStyle };
        mAboutLabel = new UICheckButton(UIConstants.RectLabelAbout, false, aboutStyles);

        string[] extendedTrackingStyles = { UIConstants.ExtendedTrackingStyleOff, UIConstants.ExtendedTrackingStyleOn };
        mExtendedTracking = new UICheckButton(UIConstants.RectOptionOne, false, extendedTrackingStyles);

        string[] cameraFlashStyles = {UIConstants.CameraFlashStyleOff, UIConstants.CameraFlashStyleOn};
        mCameraFlashSettings = new UICheckButton(UIConstants.RectOptionThree, false, cameraFlashStyles);

        string[] autofocusStyles = {UIConstants.AutoFocusStyleOff, UIConstants.AutoFocusStyleOn};
        mAutoFocusSetting = new UICheckButton(UIConstants.RectOptionTwo, false, autofocusStyles);

        mCameraLabel = new UILabel(UIConstants.RectLabelTwo, UIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2,2] {{UIConstants.CameraFacingFrontStyleOff, UIConstants.CameraFacingFrontStyleOn},{ UIConstants.CameraFacingRearStyleOff, UIConstants.CameraFacingRearStyleOn}};
        UIRect[] cameraRect = { UIConstants.RectOptionFour, UIConstants.RectOptionFive };
        mCameraFacing = new UIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[] closeButtonStyles = {UIConstants.closeButtonStyleOff, UIConstants.closeButtonStyleOn };
        mCloseButton = new UIButton(UIConstants.CloseButtonRect, closeButtonStyles);

        //      Rect rect = new Rect(0.4f * Screen.width, Screen.height - (100 * Screen.width)/800.0f, 0.3f * Screen.width, (70.0f * Screen.width)/800.0f);
        //      string[] newUDTButtonStyles = {"UserInterface/capture_button_normal_XHigh", "UserInterface/capture_button_normal_XHigh"};
        //      string imageForButton = "UserInterface/icon_camera";
        //      mNewUserDefinedTargetButton = new UIButton(rect, newUDTButtonStyles, imageForButton);
    }
 public void UnLoadView()
 {
     mVideoPlaybackLabel = null;
     mExtendedTracking = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting = null;
     mCameraLabel = null;
     mCameraFacing = null;
     mAboutLabel = null;
 }
 public void UnLoadView()
 {
     mVideoPlaybackLabel  = null;
     mExtendedTracking    = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting    = null;
     mCameraLabel         = null;
     mCameraFacing        = null;
     mAboutLabel          = null;
 }
 public void UnLoadView()
 {
     mAboutLabel          = null;
     mImageTargetLabel    = null;
     mExtendedTracking    = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting    = null;
     mCameraLabel         = null;
     mCameraFacing        = null;
     mDataSet             = null;
     mDataSetLabel        = null;
 }
 public void LoadView()
 {	
     mBox = new UIBox(UIConstants.BoxRect, UIConstants.MainBackground);
     
     mBackgroundTextureLabel = new UILabel(UIConstants.RectLabelOne, UIConstants.BackgroundTextureStyle);
     
     string[] aboutStyles = { UIConstants.AboutLableStyle, UIConstants.AboutLableStyle };
     mAboutLabel = new UICheckButton(UIConstants.RectLabelAbout, false, aboutStyles);
     
     string[] cameraFlashStyles = {UIConstants.CameraFlashStyleOff, UIConstants.CameraFlashStyleOn};
     mCameraFlashSettings = new UICheckButton(UIConstants.RectOptionTwo, false, cameraFlashStyles);
     
     string[] autofocusStyles = {UIConstants.AutoFocusStyleOff, UIConstants.AutoFocusStyleOn};
     mAutoFocusSetting = new UICheckButton(UIConstants.RectOptionOne, false, autofocusStyles);
     
     string[] closeButtonStyles = {UIConstants.closeButtonStyleOff, UIConstants.closeButtonStyleOn };
     mCloseButton = new UIButton(UIConstants.CloseButtonRect, closeButtonStyles);    
 }
Beispiel #11
0
    public void LoadView()
    {
        mBox = new UIBox(UIConstants.BoxRect, UIConstants.MainBackground);

        mBackgroundTextureLabel = new UILabel(UIConstants.RectLabelOne, UIConstants.BackgroundTextureStyle);

        string[] aboutStyles = { UIConstants.AboutLableStyle, UIConstants.AboutLableStyle };
        mAboutLabel = new UICheckButton(UIConstants.RectLabelAbout, false, aboutStyles);

        string[] cameraFlashStyles = { UIConstants.CameraFlashStyleOff, UIConstants.CameraFlashStyleOn };
        mCameraFlashSettings = new UICheckButton(UIConstants.RectOptionTwo, false, cameraFlashStyles);

        string[] autofocusStyles = { UIConstants.AutoFocusStyleOff, UIConstants.AutoFocusStyleOn };
        mAutoFocusSetting = new UICheckButton(UIConstants.RectOptionOne, false, autofocusStyles);

        string[] closeButtonStyles = { UIConstants.closeButtonStyleOff, UIConstants.closeButtonStyleOn };
        mCloseButton = new UIButton(UIConstants.CloseButtonRect, closeButtonStyles);
    }
    public void LoadView()
    {
        mBox = new UIBox(UIConstants.BoxRect, UIConstants.MainBackground);

        mImageTargetLabel = new UILabel(UIConstants.RectLabelOne, UIConstants.ImageTargetLabelStyle);

        string[] aboutStyles = { UIConstants.AboutLableStyle, UIConstants.AboutLableStyle };
        mAboutLabel = new UICheckButton(UIConstants.RectLabelAbout, false, aboutStyles);

        string[] offTargetTrackingStyles = { UIConstants.ExtendedTrackingStyleOff, UIConstants.ExtendedTrackingStyleOn };
        mExtendedTracking = new UICheckButton(UIConstants.RectOptionOne, false, offTargetTrackingStyles);

        string[] cameraFlashStyles = { UIConstants.CameraFlashStyleOff, UIConstants.CameraFlashStyleOn };
        mCameraFlashSettings = new UICheckButton(UIConstants.RectOptionThree, false, cameraFlashStyles);

        string[] autofocusStyles = { UIConstants.AutoFocusStyleOff, UIConstants.AutoFocusStyleOn };
        mAutoFocusSetting = new UICheckButton(UIConstants.RectOptionTwo, false, autofocusStyles);

        mCameraLabel = new UILabel(UIConstants.RectLabelTwo, UIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2, 2] {
            { UIConstants.CameraFacingFrontStyleOff, UIConstants.CameraFacingFrontStyleOn }, { UIConstants.CameraFacingRearStyleOff, UIConstants.CameraFacingRearStyleOn }
        };
        UIRect[] cameraRect = { UIConstants.RectOptionFour, UIConstants.RectOptionFive };
        mCameraFacing = new UIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[,] datasetStyles = new string[2, 2] {
            { UIConstants.StonesAndChipsStyleOff, UIConstants.StonesAndChipsStyleOn }, { UIConstants.TarmacOff, UIConstants.TarmacOn }
        };
        UIRect[] datasetRect = { UIConstants.RectOptionSix, UIConstants.RectOptionSeven };
        mDataSet = new UIRadioButton(datasetRect, 0, datasetStyles);

        mDataSetLabel = new UILabel(UIConstants.RectLabelThree, UIConstants.DatasetLabelStyle);

        string[] closeButtonStyles = { UIConstants.closeButtonStyleOff, UIConstants.closeButtonStyleOn };
        mCloseButton = new UIButton(UIConstants.CloseButtonRect, closeButtonStyles);
    }
 public void UnLoadView()
 {
     mAboutLabel = null;
     mImageTargetLabel = null;
     mExtendedTracking = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting = null;
     mCameraLabel = null;
     mCameraFacing = null;
     mDataSet = null;
     mDataSetLabel = null;
 }