in Apps/Phrasor/DataModel/AppSettings.cs [15:50]
public void Load()
{
ApplicationDataContainer localSettings = ApplicationData.Current.LocalSettings;
var settingValue = localSettings.Values["normalDwellDuration"];
if (settingValue!=null) NormalDwellDuration = (TimeSpan)settingValue;
settingValue = localSettings.Values["destructiveDwellDuration"];
if (settingValue != null) DestructiveDwellDuration = (TimeSpan)settingValue;
settingValue = localSettings.Values["rows"];
if (settingValue != null) Rows = (int)settingValue;
settingValue = localSettings.Values["cols"];
if (settingValue != null) Cols = (int)settingValue;
settingValue = localSettings.Values["gazePlusClickMode"];
if (settingValue != null) GazePlusClickMode = (bool)settingValue;
settingValue = localSettings.Values["fontSize"];
if (settingValue != null) FontSize = (double)settingValue;
settingValue = localSettings.Values["fontColorA"];
if (settingValue != null)
{
byte a = (byte)settingValue;
settingValue = localSettings.Values["fontColorR"];
byte r= (byte)settingValue;
settingValue = localSettings.Values["fontColorG"];
byte g= (byte)settingValue;
settingValue = localSettings.Values["fontColorB"];
byte b = (byte)settingValue;
FontColor = Color.FromArgb(a, r, g, b);
}
}