EGUIEditTypes.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #ifndef __C_GUIEDIT_TYPES_H_INCLUDED__
  2. #define __C_GUIEDIT_TYPES_H_INCLUDED__
  3. #include "irrTypes.h"
  4. namespace irr {
  5. namespace gui {
  6. enum EGUIEDIT_ELEMENT_TYPES
  7. {
  8. // GUI Editor
  9. EGUIEDIT_GUIEDIT=0,
  10. EGUIEDIT_GUIEDITWINDOW,
  11. // Generic
  12. EGUIEDIT_GUIPANEL,
  13. EGUIEDIT_TEXTUREBROWSER,
  14. // Attribute editors
  15. EGUIEDIT_ATTRIBUTEEDITOR,
  16. EGUIEDIT_STRINGATTRIBUTE,
  17. EGUIEDIT_BOOLATTRIBUTE,
  18. EGUIEDIT_ENUMATTRIBUTE,
  19. EGUIEDIT_COLORATTRIBUTE,
  20. EGUIEDIT_COLORFATTRIBUTE,
  21. EGUIEDIT_TEXTUREATTRIBUTE,
  22. // Dummy editor stubs
  23. EGUIEDIT_CONTEXTMENUEDITOR,
  24. EGUIEDIT_MENUEDITOR,
  25. EGUIEDIT_FILEDIALOGEDITOR,
  26. EGUIEDIT_COLORDIALOGEDITOR,
  27. EGUIEDIT_MODALSCREENEDITOR,
  28. // Count
  29. EGUIEDIT_COUNT
  30. };
  31. const c8* const GUIEditElementTypeNames[] =
  32. {
  33. "GUIEditor",
  34. "GUIEditWindow",
  35. "panel",
  36. "textureCacheBrowser",
  37. "attributeEditor",
  38. "string_attribute",
  39. "bool_attribute",
  40. "enum_attribute",
  41. "color_attribute",
  42. "colorf_attribute",
  43. "texture_attribute",
  44. // dummy editors
  45. "contextMenu_editor",
  46. "menu_editor",
  47. "fileOpenDialog_editor",
  48. "colorSelectDialog_editor",
  49. "modalScreen_editor",
  50. 0
  51. };
  52. } // gui
  53. } // irr
  54. #endif