/// <summary> /// Resets values. /// </summary> public static void ResetValues() { DebugEx.Verbose("Assets.Common.Popups.SpriteStates.ResetValues()"); button = new SpriteStateLoader(Textures.button, Textures.buttonHighlighted, Textures.buttonPressed); buttonDisabled = new SpriteStateLoader(Textures.button, Textures.buttonDisabled, Textures.buttonDisabled); }
/// <summary> /// Resets values. /// </summary> public static void ResetValues() { DebugEx.Verbose("Assets.Common.Windows.SpriteStates.ResetValues()"); minimizeButton = new SpriteStateLoader(Textures.minimizeButtonDisabled, Textures.minimizeButtonHighlighted, Textures.minimizeButtonPressed); maximizeButton = new SpriteStateLoader(Textures.maximizeButtonDisabled, Textures.maximizeButtonHighlighted, Textures.maximizeButtonPressed); normalizeButton = new SpriteStateLoader(Textures.normalizeButtonDisabled, Textures.normalizeButtonHighlighted, Textures.normalizeButtonPressed); closeButton = new SpriteStateLoader(Textures.closeButtonDisabled, Textures.closeButtonHighlighted, Textures.closeButtonPressed); toolCloseButton = new SpriteStateLoader(Textures.toolCloseButtonDisabled, Textures.toolCloseButtonHighlighted, Textures.toolCloseButtonPressed); }
/// <summary> /// Resets values. /// </summary> public static void ResetValues() { DebugEx.Verbose("Assets.Common.DockWidgets.SpriteStates.ResetValues()"); button = new SpriteStateLoader(Textures.tabDisabled, Textures.tabHighlighted, Textures.tabPressed); activeButton = new SpriteStateLoader(Textures.tabActiveDisabled, Textures.tabActiveHighlighted, Textures.tabActivePressed); maximizeButton = new SpriteStateLoader(Textures.maximizeButtonDisabled, Textures.maximizeButtonHighlighted, Textures.maximizeButtonPressed); closeButton = new SpriteStateLoader(Textures.closeButtonDisabled, Textures.closeButtonHighlighted, Textures.closeButtonPressed); unlockedButton = new SpriteStateLoader(Textures.unlockedButtonDisabled, Textures.unlockedButtonHighlighted, Textures.unlockedButtonPressed); lockedButton = new SpriteStateLoader(Textures.lockedButtonDisabled, Textures.lockedButtonHighlighted, Textures.lockedButtonPressed); contextMenuButton = new SpriteStateLoader(Textures.contextMenuButtonDisabled, Textures.contextMenuButtonHighlighted, Textures.contextMenuButtonPressed); }