public void setupColor() { CurrentZoomLevel = RegMemory.GetInt("tempZoomLevel", 15); AvgPeriod = RegMemory.GetInt("tempAverageSeconds", 120); ShowExtruder = RegMemory.GetBool("tempShowExtruder", true); ShowAverage = RegMemory.GetBool("tempShowAverage", true); ShowBed = RegMemory.GetBool("tempShowBed", true); Autoscroll = RegMemory.GetBool("tempAutoscroll", true); ShowOutput = RegMemory.GetBool("tempShowOutput", true); ShowTarget = RegMemory.GetBool(@"tempShowTarget", true); extruderWidth = RegMemory.GetDouble("tempExtruderWidth", 2); avgExtruderWidth = RegMemory.GetDouble("tempAvgExtruderWidth", 7); targetExtruderWidth = RegMemory.GetDouble("tempTargetExtruderWidth", 1); bedWidth = RegMemory.GetDouble("tempBedWidth", 2); avgBedWidth = RegMemory.GetDouble("tempAvgBedWidth", 7); targetBedWidth = RegMemory.GetDouble("tempTargetBedWidth", 1); avgOutputWidth = RegMemory.GetDouble("tempAvgOutputWidth", 2); backgroundColor = RegMemory.GetColor("tempBackgroundColor", Color.Black); gridColor = RegMemory.GetColor("tempGridColor", Color.FromArgb(255, 0, 70, 0)); axisColor = RegMemory.GetColor("tempAxisColor", Color.FromArgb(255, 255, 255, 255)); fontColor = RegMemory.GetColor("tempFontColor", Color.FromArgb(255, 229, 229, 229)); extruderColor = RegMemory.GetColor("tempExtruderColor", Color.FromArgb(255, 255, 2, 61)); avgExtruderColor = RegMemory.GetColor("tempAvgExtruderColor", Color.FromArgb(178, 222, 114, 0)); bedColor = RegMemory.GetColor("tempBedColor", Color.FromArgb(255, 0, 208, 210)); avgBedColor = RegMemory.GetColor("tempAvgBedColor", Color.FromArgb(178, 0, 122, 165)); targetExtruderColor = RegMemory.GetColor("tempTargetExtruderColor", Color.FromArgb(255, 153, 102, 204)); targetBedColor = RegMemory.GetColor("tempTargetBedColor", Color.FromArgb(255, 153, 102, 204)); outputColor = RegMemory.GetColor("tempOutputColor", Color.FromArgb(178, 13, 128, 15)); avgOutputColor = RegMemory.GetColor("tempAvgOutputColor", Color.FromArgb(255, 0, 128, 255)); }