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

            return(mySettings);
        }
Ejemplo n.º 2
0
 public void setSettings(StandardEyeChartSettings 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();
      */
 }
Ejemplo 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();
 }