EGUIAlignment.h 803 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 IRR_E_GUI_ALIGNMENT_H_INCLUDED
  5. #define IRR_E_GUI_ALIGNMENT_H_INCLUDED
  6. #include "irrTypes.h"
  7. namespace irr
  8. {
  9. namespace gui
  10. {
  11. enum EGUI_ALIGNMENT
  12. {
  13. //! Aligned to parent's top or left side (default)
  14. EGUIA_UPPERLEFT=0,
  15. //! Aligned to parent's bottom or right side
  16. EGUIA_LOWERRIGHT,
  17. //! Aligned to the center of parent
  18. EGUIA_CENTER,
  19. //! Stretched to fit parent
  20. EGUIA_SCALE
  21. };
  22. //! Names for alignments
  23. const c8* const GUIAlignmentNames[] =
  24. {
  25. "upperLeft",
  26. "lowerRight",
  27. "center",
  28. "scale",
  29. 0
  30. };
  31. } // namespace gui
  32. } // namespace irr
  33. #endif // IRR_E_GUI_ALIGNMENT_H_INCLUDED