diff options
Diffstat (limited to 'libraries/irrlicht-1.8/include/EGUIElementTypes.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/EGUIElementTypes.h | 280 |
1 files changed, 140 insertions, 140 deletions
diff --git a/libraries/irrlicht-1.8/include/EGUIElementTypes.h b/libraries/irrlicht-1.8/include/EGUIElementTypes.h index a02afad..aace9e1 100644 --- a/libraries/irrlicht-1.8/include/EGUIElementTypes.h +++ b/libraries/irrlicht-1.8/include/EGUIElementTypes.h | |||
@@ -1,140 +1,140 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | 1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt |
2 | // This file is part of the "Irrlicht Engine". | 2 | // This file is part of the "Irrlicht Engine". |
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | 3 | // For conditions of distribution and use, see copyright notice in irrlicht.h |
4 | 4 | ||
5 | #ifndef __E_GUI_ELEMENT_TYPES_H_INCLUDED__ | 5 | #ifndef __E_GUI_ELEMENT_TYPES_H_INCLUDED__ |
6 | #define __E_GUI_ELEMENT_TYPES_H_INCLUDED__ | 6 | #define __E_GUI_ELEMENT_TYPES_H_INCLUDED__ |
7 | 7 | ||
8 | #include "irrTypes.h" | 8 | #include "irrTypes.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | namespace gui | 12 | namespace gui |
13 | { | 13 | { |
14 | 14 | ||
15 | //! List of all basic Irrlicht GUI elements. | 15 | //! List of all basic Irrlicht GUI elements. |
16 | /** An IGUIElement returns this when calling IGUIElement::getType(); */ | 16 | /** An IGUIElement returns this when calling IGUIElement::getType(); */ |
17 | enum EGUI_ELEMENT_TYPE | 17 | enum EGUI_ELEMENT_TYPE |
18 | { | 18 | { |
19 | //! A button (IGUIButton) | 19 | //! A button (IGUIButton) |
20 | EGUIET_BUTTON = 0, | 20 | EGUIET_BUTTON = 0, |
21 | 21 | ||
22 | //! A check box (IGUICheckBox) | 22 | //! A check box (IGUICheckBox) |
23 | EGUIET_CHECK_BOX, | 23 | EGUIET_CHECK_BOX, |
24 | 24 | ||
25 | //! A combo box (IGUIComboBox) | 25 | //! A combo box (IGUIComboBox) |
26 | EGUIET_COMBO_BOX, | 26 | EGUIET_COMBO_BOX, |
27 | 27 | ||
28 | //! A context menu (IGUIContextMenu) | 28 | //! A context menu (IGUIContextMenu) |
29 | EGUIET_CONTEXT_MENU, | 29 | EGUIET_CONTEXT_MENU, |
30 | 30 | ||
31 | //! A menu (IGUIMenu) | 31 | //! A menu (IGUIMenu) |
32 | EGUIET_MENU, | 32 | EGUIET_MENU, |
33 | 33 | ||
34 | //! An edit box (IGUIEditBox) | 34 | //! An edit box (IGUIEditBox) |
35 | EGUIET_EDIT_BOX, | 35 | EGUIET_EDIT_BOX, |
36 | 36 | ||
37 | //! A file open dialog (IGUIFileOpenDialog) | 37 | //! A file open dialog (IGUIFileOpenDialog) |
38 | EGUIET_FILE_OPEN_DIALOG, | 38 | EGUIET_FILE_OPEN_DIALOG, |
39 | 39 | ||
40 | //! A color select open dialog (IGUIColorSelectDialog) | 40 | //! A color select open dialog (IGUIColorSelectDialog) |
41 | EGUIET_COLOR_SELECT_DIALOG, | 41 | EGUIET_COLOR_SELECT_DIALOG, |
42 | 42 | ||
43 | //! A in/out fader (IGUIInOutFader) | 43 | //! A in/out fader (IGUIInOutFader) |
44 | EGUIET_IN_OUT_FADER, | 44 | EGUIET_IN_OUT_FADER, |
45 | 45 | ||
46 | //! An image (IGUIImage) | 46 | //! An image (IGUIImage) |
47 | EGUIET_IMAGE, | 47 | EGUIET_IMAGE, |
48 | 48 | ||
49 | //! A list box (IGUIListBox) | 49 | //! A list box (IGUIListBox) |
50 | EGUIET_LIST_BOX, | 50 | EGUIET_LIST_BOX, |
51 | 51 | ||
52 | //! A mesh viewer (IGUIMeshViewer) | 52 | //! A mesh viewer (IGUIMeshViewer) |
53 | EGUIET_MESH_VIEWER, | 53 | EGUIET_MESH_VIEWER, |
54 | 54 | ||
55 | //! A message box (IGUIWindow) | 55 | //! A message box (IGUIWindow) |
56 | EGUIET_MESSAGE_BOX, | 56 | EGUIET_MESSAGE_BOX, |
57 | 57 | ||
58 | //! A modal screen | 58 | //! A modal screen |
59 | EGUIET_MODAL_SCREEN, | 59 | EGUIET_MODAL_SCREEN, |
60 | 60 | ||
61 | //! A scroll bar (IGUIScrollBar) | 61 | //! A scroll bar (IGUIScrollBar) |
62 | EGUIET_SCROLL_BAR, | 62 | EGUIET_SCROLL_BAR, |
63 | 63 | ||
64 | //! A spin box (IGUISpinBox) | 64 | //! A spin box (IGUISpinBox) |
65 | EGUIET_SPIN_BOX, | 65 | EGUIET_SPIN_BOX, |
66 | 66 | ||
67 | //! A static text (IGUIStaticText) | 67 | //! A static text (IGUIStaticText) |
68 | EGUIET_STATIC_TEXT, | 68 | EGUIET_STATIC_TEXT, |
69 | 69 | ||
70 | //! A tab (IGUITab) | 70 | //! A tab (IGUITab) |
71 | EGUIET_TAB, | 71 | EGUIET_TAB, |
72 | 72 | ||
73 | //! A tab control | 73 | //! A tab control |
74 | EGUIET_TAB_CONTROL, | 74 | EGUIET_TAB_CONTROL, |
75 | 75 | ||
76 | //! A Table | 76 | //! A Table |
77 | EGUIET_TABLE, | 77 | EGUIET_TABLE, |
78 | 78 | ||
79 | //! A tool bar (IGUIToolBar) | 79 | //! A tool bar (IGUIToolBar) |
80 | EGUIET_TOOL_BAR, | 80 | EGUIET_TOOL_BAR, |
81 | 81 | ||
82 | //! A Tree View | 82 | //! A Tree View |
83 | EGUIET_TREE_VIEW, | 83 | EGUIET_TREE_VIEW, |
84 | 84 | ||
85 | //! A window | 85 | //! A window |
86 | EGUIET_WINDOW, | 86 | EGUIET_WINDOW, |
87 | 87 | ||
88 | //! Unknown type. | 88 | //! Unknown type. |
89 | EGUIET_ELEMENT, | 89 | EGUIET_ELEMENT, |
90 | 90 | ||
91 | //! The root of the GUI | 91 | //! The root of the GUI |
92 | EGUIET_ROOT, | 92 | EGUIET_ROOT, |
93 | 93 | ||
94 | //! Not an element, amount of elements in there | 94 | //! Not an element, amount of elements in there |
95 | EGUIET_COUNT, | 95 | EGUIET_COUNT, |
96 | 96 | ||
97 | //! This enum is never used, it only forces the compiler to compile this enumeration to 32 bit. | 97 | //! This enum is never used, it only forces the compiler to compile this enumeration to 32 bit. |
98 | EGUIET_FORCE_32_BIT = 0x7fffffff | 98 | EGUIET_FORCE_32_BIT = 0x7fffffff |
99 | 99 | ||
100 | }; | 100 | }; |
101 | 101 | ||
102 | //! Names for built-in element types | 102 | //! Names for built-in element types |
103 | const c8* const GUIElementTypeNames[] = | 103 | const c8* const GUIElementTypeNames[] = |
104 | { | 104 | { |
105 | "button", | 105 | "button", |
106 | "checkBox", | 106 | "checkBox", |
107 | "comboBox", | 107 | "comboBox", |
108 | "contextMenu", | 108 | "contextMenu", |
109 | "menu", | 109 | "menu", |
110 | "editBox", | 110 | "editBox", |
111 | "fileOpenDialog", | 111 | "fileOpenDialog", |
112 | "colorSelectDialog", | 112 | "colorSelectDialog", |
113 | "inOutFader", | 113 | "inOutFader", |
114 | "image", | 114 | "image", |
115 | "listBox", | 115 | "listBox", |
116 | "meshViewer", | 116 | "meshViewer", |
117 | "messageBox", | 117 | "messageBox", |
118 | "modalScreen", | 118 | "modalScreen", |
119 | "scrollBar", | 119 | "scrollBar", |
120 | "spinBox", | 120 | "spinBox", |
121 | "staticText", | 121 | "staticText", |
122 | "tab", | 122 | "tab", |
123 | "tabControl", | 123 | "tabControl", |
124 | "table", | 124 | "table", |
125 | "toolBar", | 125 | "toolBar", |
126 | "treeview", | 126 | "treeview", |
127 | "window", | 127 | "window", |
128 | "element", | 128 | "element", |
129 | "root", | 129 | "root", |
130 | 0 | 130 | 0 |
131 | }; | 131 | }; |
132 | 132 | ||
133 | } // end namespace gui | 133 | } // end namespace gui |
134 | } // end namespace irr | 134 | } // end namespace irr |
135 | 135 | ||
136 | #endif | 136 | #endif |
137 | 137 | ||
138 | 138 | ||
139 | 139 | ||
140 | 140 | ||