Esempio n. 1
0
        public DepthPracticeSettings createSettingsObject(string[] settingsString)
        {
            //this converts a string to a much faster to access object.
            DepthPracticeSettings mySettings = new DepthPracticeSettings();

            return(mySettings);
        }
Esempio n. 2
0
 public void setSettings(DepthPracticeSettings mySettings)
 {
     /*distanceSlider.setSliderValue(float.Parse(settingsString[0]));
      * rotationSlider.setSliderValue(float.Parse(settingsString[1]));
      * AttachToHead.isOn = bool.Parse(settingsString[2]);
      * GradsToggle.isOn = bool.Parse(settingsString[3]);
      * ShowRedSide.isOn = bool.Parse(settingsString[4]);
      * setUpProps();
      */
 }
Esempio n. 3
0
 public void initSettings()
 {
     testSettings0 = new BagoliniSettings();
     testSettings1 = new BoxStringSettings();
     testSettings2 = new DepthTestSettings();
     testSettings3 = new VernierSettings();
     testSettings4 = new DoubleMaddoxSettings();
     testSettings5 = new DepthPracticeSettings();
     testSettings6 = new VisualField1Settings();
     testSettings7 = new Worth4DotSettings();
     testSettings8 = new StandardEyeChartSettings();
 }