GUILayoutY.cs 1002 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. namespace BansheeEngine
  4. {
  5. /// <summary>
  6. /// Vertical layout that will position its child elements top to bottom.
  7. /// </summary>
  8. public sealed class GUILayoutY : GUILayout
  9. {
  10. /// <summary>
  11. /// Internal method used by the runtime. Initializes a managed version of the vertical layout that is referenced
  12. /// by a native GUI scroll area element.
  13. /// </summary>
  14. /// <param name="parentArea">Scroll area of which we want to reference the layout of.</param>
  15. internal GUILayoutY(GUIScrollArea parentArea)
  16. {
  17. Internal_CreateInstanceYFromScrollArea(this, parentArea);
  18. }
  19. /// <summary>
  20. /// Vertical layout that will position its child elements left to right.
  21. /// </summary>
  22. public GUILayoutY(params GUIOption[] options)
  23. {
  24. Internal_CreateInstanceY(this, options);
  25. }
  26. }
  27. }