EGUIElementTypes.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. //! List of all basic Irrlicht GUI elements.
  11. /** An IGUIElement returns this when calling IGUIElement::getType(); */
  12. enum EGUI_ELEMENT_TYPE
  13. {
  14. //! A button (IGUIButton)
  15. EGUIET_BUTTON = 0,
  16. //! A check box (IGUICheckBox)
  17. EGUIET_CHECK_BOX,
  18. //! A combo box (IGUIComboBox)
  19. EGUIET_COMBO_BOX,
  20. //! A menu (IGUIMenu)
  21. EGUIET_MENU,
  22. //! An edit box (IGUIEditBox)
  23. EGUIET_EDIT_BOX,
  24. //! A file open dialog (IGUIFileOpenDialog)
  25. EGUIET_FILE_OPEN_DIALOG,
  26. //! An image (IGUIImage)
  27. EGUIET_IMAGE,
  28. //! A list box (IGUIListBox)
  29. EGUIET_LIST_BOX,
  30. //! A scroll bar (IGUIScrollBar)
  31. EGUIET_SCROLL_BAR,
  32. //! A static text (IGUIStaticText)
  33. EGUIET_STATIC_TEXT,
  34. //! A table (GUITable)
  35. EGUIET_TABLE,
  36. //! A tab (IGUITab)
  37. EGUIET_TAB,
  38. //! A tab control
  39. EGUIET_TAB_CONTROL,
  40. //! A tool bar (IGUIToolBar)
  41. EGUIET_TOOL_BAR,
  42. //! Unknown type.
  43. EGUIET_ELEMENT,
  44. //! The root of the GUI
  45. EGUIET_ROOT,
  46. //! Not an element, amount of elements in there
  47. EGUIET_COUNT,
  48. //! This enum is never used, it only forces the compiler to compile this enumeration to 32 bit.
  49. EGUIET_FORCE_32_BIT = 0x7fffffff
  50. };
  51. } // end namespace gui
  52. } // end namespace irr