Namespace: DeltaEngine.Scenes.Controls
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Scenes.Tests.Controls.ThemeTests
1 unit tests call DeltaEngine.Scenes.Controls.Theme.Slider
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: MaterialRemarks
Examples
[Test, CloseAfterFirstFrame] public void SaveAndLoadModifiedTheme() { var theme = new Theme(); theme.Slider = new Material(ShaderFlags.Position2DColoredTextured, "DeltaEngineLogo") { DefaultColor = Color.Red }; var stream = BinaryDataExtensions.SaveToMemoryStream(theme); var loadedTheme = (Theme)stream.CreateFromMemoryStream(); Assert.IsTrue(AreMaterialsEqual(theme.Slider, loadedTheme.Slider)); }
See Also