EGUIAlignment.h 742 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. #ifndef __E_GUI_ALIGNMENT_H_INCLUDED__
  5. #define __E_GUI_ALIGNMENT_H_INCLUDED__
  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. {
  24. "upperLeft",
  25. "lowerRight",
  26. "center",
  27. "scale",
  28. 0
  29. };
  30. } // namespace gui
  31. } // namespace irr
  32. #endif // __E_GUI_ALIGNMENT_H_INCLUDED__