summaryrefslogtreecommitdiff
path: root/tools/GUIEditor/EGUIEditTypes.h
diff options
context:
space:
mode:
authorMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
committerMirrorbot <mirrorbot@cogarr.net>2025-12-27 17:53:06 -0600
commit71e94ee161447b84c0eaabf6567f8fa62262cd3e (patch)
tree391064cc6173a6fe75069af2fdc1978af12f623e /tools/GUIEditor/EGUIEditTypes.h
downloadirrlicht-master.tar.gz
irrlicht-master.tar.bz2
irrlicht-master.zip
Inital commitHEADmaster
Diffstat (limited to 'tools/GUIEditor/EGUIEditTypes.h')
-rw-r--r--tools/GUIEditor/EGUIEditTypes.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/tools/GUIEditor/EGUIEditTypes.h b/tools/GUIEditor/EGUIEditTypes.h
new file mode 100644
index 0000000..88d119e
--- /dev/null
+++ b/tools/GUIEditor/EGUIEditTypes.h
@@ -0,0 +1,61 @@
+#ifndef __C_GUIEDIT_TYPES_H_INCLUDED__
+#define __C_GUIEDIT_TYPES_H_INCLUDED__
+
+#include "irrTypes.h"
+
+namespace irr {
+namespace gui {
+
+enum EGUIEDIT_ELEMENT_TYPES
+{
+ // GUI Editor
+ EGUIEDIT_GUIEDIT=0,
+ EGUIEDIT_GUIEDITWINDOW,
+ // Generic
+ EGUIEDIT_GUIPANEL,
+ EGUIEDIT_TEXTUREBROWSER,
+ // Attribute editors
+ EGUIEDIT_ATTRIBUTEEDITOR,
+ EGUIEDIT_STRINGATTRIBUTE,
+ EGUIEDIT_BOOLATTRIBUTE,
+ EGUIEDIT_ENUMATTRIBUTE,
+ EGUIEDIT_COLORATTRIBUTE,
+ EGUIEDIT_COLORFATTRIBUTE,
+ EGUIEDIT_TEXTUREATTRIBUTE,
+ // Dummy editor stubs
+ EGUIEDIT_CONTEXTMENUEDITOR,
+ EGUIEDIT_MENUEDITOR,
+ EGUIEDIT_FILEDIALOGEDITOR,
+ EGUIEDIT_COLORDIALOGEDITOR,
+ EGUIEDIT_MODALSCREENEDITOR,
+ // Count
+ EGUIEDIT_COUNT
+};
+
+const c8* const GUIEditElementTypeNames[] =
+{
+ "GUIEditor",
+ "GUIEditWindow",
+ "panel",
+ "textureCacheBrowser",
+ "attributeEditor",
+ "string_attribute",
+ "bool_attribute",
+ "enum_attribute",
+ "color_attribute",
+ "colorf_attribute",
+ "texture_attribute",
+ // dummy editors
+ "contextMenu_editor",
+ "menu_editor",
+ "fileOpenDialog_editor",
+ "colorSelectDialog_editor",
+ "modalScreen_editor",
+ 0
+};
+
+} // gui
+} // irr
+
+#endif
+