GUILayoutY.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. /// Vertical layout that will position its child elements top to bottom.
  12. /// </summary>
  13. public sealed class GUILayoutY : GUILayout
  14. {
  15. /// <summary>
  16. /// Internal method used by the runtime. Initializes a managed version of the vertical layout that is referenced
  17. /// by a native GUI scroll area element.
  18. /// </summary>
  19. /// <param name="parentArea">Scroll area of which we want to reference the layout of.</param>
  20. internal GUILayoutY(GUIScrollArea parentArea)
  21. {
  22. Internal_CreateInstanceYFromScrollArea(this, parentArea);
  23. }
  24. /// <summary>
  25. /// Vertical layout that will position its child elements left to right.
  26. /// </summary>
  27. public GUILayoutY(params GUIOption[] options)
  28. {
  29. Internal_CreateInstanceY(this, options);
  30. }
  31. }
  32. /** @} */
  33. }