private void UpdateControls() { DotSize.Update(_previewStyle.DotSize); DotRounding.Update(_previewStyle.DotRounding); DotSharpness.Update(_previewStyle.DotSharpness); Brightness.Update(_previewStyle.Brightness); Gamma.Update(_previewStyle.Gamma); DotGlow.Update(_previewStyle.DotGlow); BackLevel.Update(_previewStyle.BackGlow); TintAmount.Value = _previewStyle.Tint.ScA; Color tintColor = _previewStyle.Tint; tintColor.A = 255; TintColor.SelectedColor = tintColor; Color unlitColor = _previewStyle.UnlitDot; unlitColor.A = 255; UnlitDotColor.SelectedColor = unlitColor; GlassDMDLightingValue.Text = DoubleToString2(_previewStyle.GlassLighting); GlassDMDLightingSlider.Value = _previewStyle.GlassLighting; Color glassColor = _previewStyle.GlassColor; glassColor.A = 255; GlassColor.SelectedColor = glassColor; GlassPath.Text = _previewStyle.GlassTexture; GlassPadding.Pad = _previewStyle.GlassPadding; FramePath.Text = _previewStyle.FrameTexture; FramePadding.Pad = _previewStyle.FramePadding; }