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);
    }
Example #2
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);
    }
Example #3
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); 
    }
Example #4
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);
 }
Example #5
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);
    }
Example #6
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);
    }
    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);
    }
Example #8
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);
    }
    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);
    }
Example #10
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);
    }
 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);
 }
 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);
 }
 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);
 }
Example #14
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);
    }
Example #15
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);
    }
Example #16
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);
    }
Example #17
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);
    }
 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);
 }