EGUIAlignment.h 666 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright (C) 2002-2012 Nikolaus Gebhardt
  2. // This file is part of the "Irrlicht Engine".
  3. // For conditions of distribution and use, see copyright notice in irrlicht.h
  4. #pragma once
  5. #include "irrTypes.h"
  6. namespace irr
  7. {
  8. namespace gui
  9. {
  10. enum EGUI_ALIGNMENT
  11. {
  12. //! Aligned to parent's top or left side (default)
  13. EGUIA_UPPERLEFT = 0,
  14. //! Aligned to parent's bottom or right side
  15. EGUIA_LOWERRIGHT,
  16. //! Aligned to the center of parent
  17. EGUIA_CENTER,
  18. //! Stretched to fit parent
  19. EGUIA_SCALE
  20. };
  21. //! Names for alignments
  22. const c8 *const GUIAlignmentNames[] = {
  23. "upperLeft",
  24. "lowerRight",
  25. "center",
  26. "scale",
  27. 0,
  28. };
  29. } // namespace gui
  30. } // namespace irr