Пример #1
0
 public void UnLoadView()
 {
     mVideoPlaybackLabel    = null;
     mCameraLabel           = null;
     mAboutLabel            = null;
     mPlayFullscreeSettings = null;
 }
    public void LoadView()
    {
        mBox = new SampleAppUIBox(SampleAppUIConstants.BoxRect, SampleAppUIConstants.MainBackground);

        mVideoPlaybackLabel = new SampleAppUILabel(SampleAppUIConstants.RectLabelOne, SampleAppUIConstants.VideoPlaybackLabelStyle);

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

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

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

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

        string[] playFullScreenStyles = { SampleAppUIConstants.PlayFullscreenModeOff, SampleAppUIConstants.PlayFullscreenModeOn };
        mPlayFullscreeSettings = new SampleAppUICheckButton(SampleAppUIConstants.RectOptionSixteen, false, playFullScreenStyles);

        mCameraLabel = new SampleAppUILabel(SampleAppUIConstants.RectLabelSix, SampleAppUIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2, 2] { { SampleAppUIConstants.CameraFacingFrontStyleOff, SampleAppUIConstants.CameraFacingFrontStyleOn }, { SampleAppUIConstants.CameraFacingRearStyleOff, SampleAppUIConstants.CameraFacingRearStyleOn } };
        SampleAppUIRect[] cameraRect = { SampleAppUIConstants.RectOptionsSvnteen, SampleAppUIConstants.RectOptionsEighteen };
        mCameraFacing = new SampleAppUIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[] closeButtonStyles = { SampleAppUIConstants.closeButtonStyleOff, SampleAppUIConstants.closeButtonStyleOn };
        mCloseButton = new SampleAppUIButton(SampleAppUIConstants.CloseButtonRect, closeButtonStyles);
    }
Пример #3
0
 public void UnLoadView()
 {
     mBackgroundTextureLabel = null;
     mAboutLabel             = null;
     mCameraFlashSettings    = null;
     mAutoFocusSetting       = null;
 }
Пример #4
0
 public void UnLoadView()
 {
     mVideoPlaybackLabel = null;
     mCameraLabel = null;
     mAboutLabel = null;
     mPlayFullscreeSettings = null;
 }
    public void LoadView()
    {
        mBox = new SampleAppUIBox(SampleAppUIConstants.BoxRect, SampleAppUIConstants.MainBackground);

        mVideoPlaybackLabel = new SampleAppUILabel(SampleAppUIConstants.RectLabelOne, SampleAppUIConstants.VideoPlaybackLabelStyle);

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

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

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

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

        string[] playFullScreenStyles = { SampleAppUIConstants.PlayFullscreenModeOff, SampleAppUIConstants.PlayFullscreenModeOn };
        mPlayFullscreeSettings = new SampleAppUICheckButton(SampleAppUIConstants.RectOptionSixteen, false, playFullScreenStyles);

        mCameraLabel = new SampleAppUILabel(SampleAppUIConstants.RectLabelSix, SampleAppUIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2, 2] {
            { SampleAppUIConstants.CameraFacingFrontStyleOff, SampleAppUIConstants.CameraFacingFrontStyleOn }, { SampleAppUIConstants.CameraFacingRearStyleOff, SampleAppUIConstants.CameraFacingRearStyleOn }
        };
        SampleAppUIRect[] cameraRect = { SampleAppUIConstants.RectOptionsSvnteen, SampleAppUIConstants.RectOptionsEighteen };
        mCameraFacing = new SampleAppUIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[] closeButtonStyles = { SampleAppUIConstants.closeButtonStyleOff, SampleAppUIConstants.closeButtonStyleOn };
        mCloseButton = new SampleAppUIButton(SampleAppUIConstants.CloseButtonRect, closeButtonStyles);
    }
Пример #6
0
    public SampleAppUILabel AddGroupLabel(string title)
    {
        SampleAppUILabel label = new SampleAppUILabel(mIndex, title, mStyleGroupLabel);

        mIndex += label.Height;
        GUIElements.Add(label);
        return(label);
    }
Пример #7
0
 public void UnLoadView()
 {
     mHeaderLabel = null;
     mAboutButton = null;
     mButtonFour  = null;
     mButtonTwo   = null;
     mButtonOne   = null;
     mButtonThree = null;
 }
    public void LoadView()
    {
        mLayout = new SampleAppsUILayout();
        mTextRecognitionLabel = mLayout.AddLabel("Text Reco");
        mAboutLabel = mLayout.AddSimpleButton("About");

        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #9
0
 public void UnLoadView()
 {
     mHeaderLabel = null;
     mAboutButton = null;
     mButtonFour = null;
     mButtonTwo = null;
     mButtonOne = null;
     mButtonThree = null;
 }
Пример #10
0
 public void UnLoadView()
 {
     mFrameMarkerLabel = null;
     mAboutLabel = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting = null;
     mCameraLabel = null;
     mCameraFacing = null;
 }
Пример #11
0
 public void UnLoadView()
 {
     mHeaderLabel = null;
     mAboutButton = null;
     mVirtualYellowButton = null;
     mVirtualGreenButton = null;
     mVirtualBlueButton = null;
     mVirtualRedButton = null;
 }
Пример #12
0
 public void UnLoadView()
 {
     mHeaderLabel         = null;
     mAboutButton         = null;
     mVirtualYellowButton = null;
     mVirtualGreenButton  = null;
     mVirtualBlueButton   = null;
     mVirtualRedButton    = null;
 }
Пример #13
0
 public void UnLoadView()
 {
     mHeaderLabel = null;
     mAboutLabel = null;
     mExtendedTracking = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting = null;
     mCameraLabel = null;
     mCameraFacing = null;
 }
Пример #14
0
    public void LoadView()
    {
        mLayout = new SampleAppsUILayout();
        mTextRecognitionLabel = mLayout.AddLabel("Text Reco");
        mAboutLabel           = mLayout.AddSimpleButton("About");

        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #15
0
    public void LoadView()
    {

        mLayout = new SampleAppsUILayout();
        mFrameMarkerLabel = mLayout.AddLabel("Frame Markers");
        mAboutLabel = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
        mCloseButton = mLayout.AddButton("Close", CloseButtonRect); 
    }
Пример #16
0
 public void LoadView()
 {
     mLayout = new SampleAppsUILayout();
     mHeaderLabel = mLayout.AddLabel("User Defined Targets");
     mAboutLabel = mLayout.AddSimpleButton("About");
     mLayout.AddGap(2);
     mExtendedTracking = mLayout.AddSlider("Extended Tracking", false);
     Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
     mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
 }
Пример #17
0
 public void UnLoadView()
 {
     mCloudRecoLabel      = null;
     mExtendedTracking    = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting    = null;
     mAboutLabel          = null;
     mCameraLabel         = null;
     mCameraFacing        = null;
 }
Пример #18
0
    public void LoadView()
    {
        mLayout = new SampleAppsUILayout();
        mBackgroundTextureLabel = mLayout.AddLabel("Background Texture");
        mAboutLabel             = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);

        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
 public void UnLoadView()
 {
     mVideoPlaybackLabel    = null;
     mExtendedTracking      = null;
     mCameraFlashSettings   = null;
     mAutoFocusSetting      = null;
     mCameraLabel           = null;
     mCameraFacing          = null;
     mAboutLabel            = null;
     mPlayFullscreeSettings = null;
 }
Пример #20
0
    public void LoadView()
    {
        mLayout      = new SampleAppsUILayout();
        mHeaderLabel = mLayout.AddLabel("User Defined Targets");
        mAboutLabel  = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        mExtendedTracking = mLayout.AddSlider("Extended Tracking", false);
        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #21
0
 public void UnLoadView()
 {
     mAboutLabel          = null;
     mSmartTerrainLabel   = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting    = null;
     mScanningLabel       = null;
     mStartStopScanning   = null;
     mReset       = null;
     mCloseButton = null;
 }
Пример #22
0
    public void LoadView()
    {
        mLayout = new SampleAppsUILayout();
        mTextRecognitionLabel = mLayout.AddLabel("Text Reco");
        mAboutLabel           = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        mCameraFlashSettings = mLayout.AddSlider("Flash", false);

        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #23
0
    public void LoadView()
    {
        mLayout             = new SampleAppsUILayout();
        mVideoPlaybackLabel = mLayout.AddLabel("Video Playback");
        mAboutLabel         = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        mPlayFullscreeSettings = mLayout.AddSlider("Play Fullscreen", false);
        mLayout.AddGap(16);
        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #24
0
 public void UnLoadView()
 {
     mAboutLabel          = null;
     mImageTargetLabel    = null;
     mExtendedTracking    = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting    = null;
     mCameraLabel         = null;
     mCameraFacing        = null;
     mDataSet             = null;
     mDataSetLabel        = null;
 }
Пример #25
0
 public void UnLoadView()
 {
     mAboutLabel = null;
     mImageTargetLabel = null;
     mExtendedTracking = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting = null;
     mCameraLabel = null;
     mCameraFacing = null;
     mDataSet = null;
     mDataSetLabel = null;
 }
Пример #26
0
    public void LoadView()
    {

        mLayout = new SampleAppsUILayout();
        mVideoPlaybackLabel = mLayout.AddLabel("Video Playback");
        mAboutLabel = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        mPlayFullscreeSettings = mLayout.AddSlider("Play Fullscreen", false);
        mLayout.AddGap(16);
        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #27
0
    public void LoadView()
    {
        mLayout = new SampleAppsUILayout();
        mBackgroundTextureLabel = mLayout.AddLabel("Background Texture");
        mAboutLabel             = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        mAutoFocusSetting = mLayout.AddSlider("Autofocus", true);
        mLayout.AddGap(2);
        mCameraFlashSettings = mLayout.AddSlider("Flash", false);

        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #28
0
 public void LoadView()
 {
     mLayout = new SampleAppsUILayout();
     mFrameMarkerLabel = mLayout.AddLabel("Frame Markers");
     mAboutLabel = mLayout.AddSimpleButton("About");
     mLayout.AddGap(2);
     mAutoFocusSetting = mLayout.AddSlider("Autofocus", false);
     mLayout.AddGap(2);
     mCameraFlashSettings = mLayout.AddSlider("Flash", false);
     mLayout.AddGap(16);
     mCameraLabel = mLayout.AddGroupLabel("Camera");
     string[] options = { "Front", "Rear" };
     mCameraFacing = mLayout.AddToggleOptions(options, 1);
     Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
     mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
 }
Пример #29
0
 public void LoadView()
 {
     mLayout = new SampleAppsUILayout();
     mHeaderLabel = mLayout.AddLabel("Virtual Buttons");
     mAboutButton = mLayout.AddSimpleButton("About");
     mLayout.AddGap(14);
     mButtonLabel = mLayout.AddGroupLabel("Button");
     mVirtualYellowButton = mLayout.AddSlider_Type2("Yellow", true);
     mLayout.AddGap(2);
     mVirtualRedButton = mLayout.AddSlider_Type2("Red", true);
     mLayout.AddGap(2);
     mVirtualGreenButton = mLayout.AddSlider_Type2("Green", true);
     mLayout.AddGap(2);
     mVirtualBlueButton = mLayout.AddSlider_Type2("Blue", true);
     Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
     mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
 }
Пример #30
0
 public void LoadView()
 {
     mLayout = new SampleAppsUILayout();
     mHeaderLabel = mLayout.AddLabel("Virtual Buttons");
     mAboutButton = mLayout.AddSimpleButton("About");
     mLayout.AddGap(14);
     mButtonLabel = mLayout.AddGroupLabel("Button");
     mButtonFour = mLayout.AddSlider_Type2("button4", true);
     mLayout.AddGap(2);
     mButtonThree = mLayout.AddSlider_Type2("button3", true);
     mLayout.AddGap(2);
     mButtonTwo = mLayout.AddSlider_Type2("button2", true);
     mLayout.AddGap(2);
     mButtonOne = mLayout.AddSlider_Type2("button1", true);
     Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
     mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
 }
Пример #31
0
    public void LoadView()
    {
        mLayout      = new SampleAppsUILayout();
        mHeaderLabel = mLayout.AddLabel("Virtual Buttons");
        mAboutButton = mLayout.AddSimpleButton("About");
        mLayout.AddGap(14);
        mButtonLabel         = mLayout.AddGroupLabel("Button");
        mVirtualYellowButton = mLayout.AddSlider_Type2("Yellow", true);
        mLayout.AddGap(2);
        mVirtualRedButton = mLayout.AddSlider_Type2("Red", true);
        mLayout.AddGap(2);
        mVirtualGreenButton = mLayout.AddSlider_Type2("Green", true);
        mLayout.AddGap(2);
        mVirtualBlueButton = mLayout.AddSlider_Type2("Blue", true);
        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #32
0
    public void LoadView()
    {
        mLayout      = new SampleAppsUILayout();
        mHeaderLabel = mLayout.AddLabel("Virtual Buttons");
        mAboutButton = mLayout.AddSimpleButton("About");
        mLayout.AddGap(14);
        mButtonLabel = mLayout.AddGroupLabel("Button");
        mButtonFour  = mLayout.AddSlider_Type2("button4", true);
        mLayout.AddGap(2);
        mButtonThree = mLayout.AddSlider_Type2("button3", true);
        mLayout.AddGap(2);
        mButtonTwo = mLayout.AddSlider_Type2("button2", true);
        mLayout.AddGap(2);
        mButtonOne = mLayout.AddSlider_Type2("button1", true);
        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #33
0
    public void LoadView()
    {
        mLayout            = new SampleAppsUILayout();
        mSmartTerrainLabel = mLayout.AddLabel("Smart Terrain");
        mAboutLabel        = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        mCameraFlashSettings = mLayout.AddSlider("Flash", false);
        mLayout.AddGap(2);
        mAutoFocusSetting = mLayout.AddSlider("Autofocus", true);
        mLayout.AddGap(16);
        mScanningLabel     = mLayout.AddGroupLabel("Scanning");
        mStartStopScanning = mLayout.AddSimpleButton("Stop");
        mLayout.AddGap(2);
        mReset = mLayout.AddSimpleButton("Reset");

        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #34
0
    public void LoadView()
    {
        mLayout         = new SampleAppsUILayout();
        mCloudRecoLabel = mLayout.AddLabel("Cloud Reco");
        mAboutLabel     = mLayout.AddSimpleButton("About");
        mLayout.AddGap(2);
        mExtendedTracking = mLayout.AddSlider("Extended Tracking", false);
        mLayout.AddGap(2);
        mAutoFocusSetting = mLayout.AddSlider("Autofocus", false);
        mLayout.AddGap(2);
        mCameraFlashSettings = mLayout.AddSlider("Flash", false);
        mLayout.AddGap(16);
        mCameraLabel = mLayout.AddGroupLabel("Camera");
        string[] options = { "Front", "Rear" };
        mCameraFacing = mLayout.AddToggleOptions(options, 1);
        Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);

        mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
    }
Пример #35
0
 public void LoadView()
 {
     mLayout = new SampleAppsUILayout();
     mImageTargetLabel = mLayout.AddLabel("Image Targets");
     mAboutLabel = mLayout.AddSimpleButton("About");
     mLayout.AddGap(2);
     mExtendedTracking = mLayout.AddSlider("Extended Tracking", false);
     mLayout.AddGap(2);
     mAutoFocusSetting = mLayout.AddSlider("Autofocus", false);
     mLayout.AddGap(2);
     mCameraFlashSettings = mLayout.AddSlider("Flash", false);
     mLayout.AddGap(16);
     mCameraLabel = mLayout.AddGroupLabel("Camera");
     string[] options = { "Front", "Rear" };
     mCameraFacing = mLayout.AddToggleOptions(options, 1);
     mLayout.AddGap(14);
     mDataSetLabel = mLayout.AddGroupLabel("Database");
     string[] dataSetOptions = { "Stones & Chips", "Tarmac" };
     mDataSet = mLayout.AddToggleOptions(dataSetOptions, 0);
     Rect CloseButtonRect = new Rect(0, Screen.height - (100 * Screen.width) / 800.0f, Screen.width, (70.0f * Screen.width) / 800.0f);
     mCloseButton = mLayout.AddButton("Close", CloseButtonRect);
 }
Пример #36
0
    public void LoadView()
    {
        mBox = new SampleAppUIBox(SampleAppUIConstants.BoxRect, SampleAppUIConstants.MainBackground);

        mImageTargetLabel = new SampleAppUILabel(SampleAppUIConstants.RectLabelOne, SampleAppUIConstants.ImageTargetLabelStyle);

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

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

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

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

        mCameraLabel = new SampleAppUILabel(SampleAppUIConstants.RectLabelTwo, SampleAppUIConstants.CameraLabelStyle);

        string[,] cameraFacingStyles = new string[2, 2] {
            { SampleAppUIConstants.CameraFacingFrontStyleOff, SampleAppUIConstants.CameraFacingFrontStyleOn }, { SampleAppUIConstants.CameraFacingRearStyleOff, SampleAppUIConstants.CameraFacingRearStyleOn }
        };
        SampleAppUIRect[] cameraRect = { SampleAppUIConstants.RectOptionFour, SampleAppUIConstants.RectOptionFive };
        mCameraFacing = new SampleAppUIRadioButton(cameraRect, 1, cameraFacingStyles);

        string[,] datasetStyles = new string[2, 2] {
            { SampleAppUIConstants.StonesAndChipsStyleOff, SampleAppUIConstants.StonesAndChipsStyleOn }, { SampleAppUIConstants.TarmacOff, SampleAppUIConstants.TarmacOn }
        };
        SampleAppUIRect[] datasetRect = { SampleAppUIConstants.RectOptionSix, SampleAppUIConstants.RectOptionSeven };
        mDataSet = new SampleAppUIRadioButton(datasetRect, 0, datasetStyles);

        mDataSetLabel = new SampleAppUILabel(SampleAppUIConstants.RectLabelThree, SampleAppUIConstants.DatasetLabelStyle);

        string[] closeButtonStyles = { SampleAppUIConstants.closeButtonStyleOff, SampleAppUIConstants.closeButtonStyleOn };
        mCloseButton = new SampleAppUIButton(SampleAppUIConstants.CloseButtonRect, closeButtonStyles);
    }
Пример #37
0
 public void UnLoadView()
 {
     mFrameMarkerLabel = null;
     mAboutLabel = null;
     mCameraLabel = null;
 }
Пример #38
0
 public void UnLoadView()
 {
     mTextRecognitionLabel = null;
     mAboutLabel           = null;
 }
Пример #39
0
 public void UnLoadView()
 {
     mVideoPlaybackLabel = null;
     mExtendedTracking = null;
     mCameraFlashSettings = null;
     mAutoFocusSetting = null;
     mCameraLabel = null;
     mCameraFacing = null;
     mAboutLabel = null;
     mPlayFullscreeSettings = null;
 }
Пример #40
0
 public void UnLoadView()
 {
     mHeaderLabel = null;
     mAboutLabel = null;
     mExtendedTracking = null;
 }
Пример #41
0
	public SampleAppUILabel AddGroupLabel(string title)
	{
		SampleAppUILabel label = new SampleAppUILabel(mIndex,title, mStyleGroupLabel);
		mIndex += label.Height;
		GUIElements.Add(label);
		return label;
	}
Пример #42
0
 public void UnLoadView()
 {
     mTextRecognitionLabel = null;
     mCameraFlashSettings  = null;
     mAboutLabel           = null;
 }
Пример #43
0
 public void UnLoadView()
 {
     mHeaderLabel      = null;
     mAboutLabel       = null;
     mExtendedTracking = null;
 }
 public void UnLoadView()
 {
     mTextRecognitionLabel = null;
     mAboutLabel = null;
 }
Пример #45
0
 public void UnLoadView()
 {
     mBackgroundTextureLabel = null;
     mAboutLabel             = null;
 }
Пример #46
0
 public void UnLoadView()
 {
     mCloudRecoLabel = null;
     mExtendedTracking = null;
     mAboutLabel = null;
 }