GUIElementStateStyle.cs 884 B

1234567891011121314151617181920212223242526272829
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. using System;
  4. using System.Runtime.CompilerServices;
  5. namespace BansheeEngine
  6. {
  7. /** @addtogroup GUI_Engine
  8. * @{
  9. */
  10. /// <summary>
  11. /// Container for texture and text color used in a particular GUI element style.
  12. /// </summary>
  13. public struct GUIElementStateStyle
  14. {
  15. /// <summary>
  16. /// Texture used by the GUI element style state. Can be null.
  17. /// </summary>
  18. public SpriteTexture Texture;
  19. /// <summary>
  20. /// Color applied to the text when GUI element style state is active.
  21. /// </summary>
  22. public Color TextColor;
  23. };
  24. /** @} */
  25. }