GUIElementStateStyle.cs 964 B

12345678910111213141516171819202122232425262728293031
  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. using System.Runtime.InteropServices;
  6. namespace BansheeEngine
  7. {
  8. /** @addtogroup GUI_Engine
  9. * @{
  10. */
  11. /// <summary>
  12. /// Container for texture and text color used in a particular GUI element style.
  13. /// </summary>
  14. [StructLayout(LayoutKind.Sequential)]
  15. public struct GUIElementStateStyle
  16. {
  17. /// <summary>
  18. /// Texture used by the GUI element style state. Can be null.
  19. /// </summary>
  20. public SpriteTexture Texture;
  21. /// <summary>
  22. /// Color applied to the text when GUI element style state is active.
  23. /// </summary>
  24. public Color TextColor;
  25. };
  26. /** @} */
  27. }