GUIElementStateStyle.cs 589 B

123456789101112131415161718192021
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. namespace BansheeEngine
  4. {
  5. /// <summary>
  6. /// Container for texture and text color used in a particular GUI element style.
  7. /// </summary>
  8. public struct GUIElementStateStyle
  9. {
  10. /// <summary>
  11. /// Texture used by the GUI element style state. Can be null.
  12. /// </summary>
  13. public SpriteTexture Texture;
  14. /// <summary>
  15. /// Color applied to the text when GUI element style state is active.
  16. /// </summary>
  17. public Color TextColor;
  18. };
  19. }