1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 #ifndef __E_GUI_ELEMENT_TYPES_H_INCLUDED__
\r
6 #define __E_GUI_ELEMENT_TYPES_H_INCLUDED__
\r
8 #include "irrTypes.h"
\r
15 //! List of all basic Irrlicht GUI elements.
\r
16 /** An IGUIElement returns this when calling IGUIElement::getType(); */
\r
17 enum EGUI_ELEMENT_TYPE
\r
19 //! A button (IGUIButton)
\r
22 //! A check box (IGUICheckBox)
\r
25 //! A combo box (IGUIComboBox)
\r
28 //! A context menu (IGUIContextMenu)
\r
29 EGUIET_CONTEXT_MENU,
\r
31 //! A menu (IGUIMenu)
\r
34 //! An edit box (IGUIEditBox)
\r
37 //! A file open dialog (IGUIFileOpenDialog)
\r
38 EGUIET_FILE_OPEN_DIALOG,
\r
40 //! A color select open dialog (IGUIColorSelectDialog)
\r
41 EGUIET_COLOR_SELECT_DIALOG,
\r
43 //! A in/out fader (IGUIInOutFader)
\r
44 EGUIET_IN_OUT_FADER,
\r
46 //! An image (IGUIImage)
\r
49 //! A list box (IGUIListBox)
\r
52 //! A mesh viewer (IGUIMeshViewer)
\r
55 //! A message box (IGUIWindow)
\r
59 EGUIET_MODAL_SCREEN,
\r
61 //! A scroll bar (IGUIScrollBar)
\r
64 //! A spin box (IGUISpinBox)
\r
67 //! A static text (IGUIStaticText)
\r
79 //! A tool bar (IGUIToolBar)
\r
91 //! The root of the GUI
\r
94 //! Not an element, amount of elements in there
\r
97 //! This enum is never used, it only forces the compiler to compile this enumeration to 32 bit.
\r
98 EGUIET_FORCE_32_BIT = 0x7fffffff
\r
102 //! Names for built-in element types
\r
103 const c8* const GUIElementTypeNames[] =
\r
112 "colorSelectDialog",
\r
134 } // end namespace gui
\r
135 } // end namespace irr
\r