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.ButtonMouseover
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 SaveAndLoadDefaultTheme() { var theme = new Theme(); var stream = BinaryDataExtensions.SaveToMemoryStream(theme); var loadedTheme = (Theme)stream.CreateFromMemoryStream(); Assert.IsTrue(AreMaterialsEqual(theme.ButtonMouseover, loadedTheme.ButtonMouseover)); Assert.IsTrue(AreMaterialsEqual(theme.ScrollbarPointer, loadedTheme.ScrollbarPointer)); Assert.IsTrue(AreMaterialsEqual(theme.TextBoxFocused, loadedTheme.TextBoxFocused)); }
See Also