scene_string_names.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. /*************************************************************************/
  2. /* scene_string_names.h */
  3. /*************************************************************************/
  4. /* This file is part of: */
  5. /* GODOT ENGINE */
  6. /* http://www.godotengine.org */
  7. /*************************************************************************/
  8. /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
  9. /* */
  10. /* Permission is hereby granted, free of charge, to any person obtaining */
  11. /* a copy of this software and associated documentation files (the */
  12. /* "Software"), to deal in the Software without restriction, including */
  13. /* without limitation the rights to use, copy, modify, merge, publish, */
  14. /* distribute, sublicense, and/or sell copies of the Software, and to */
  15. /* permit persons to whom the Software is furnished to do so, subject to */
  16. /* the following conditions: */
  17. /* */
  18. /* The above copyright notice and this permission notice shall be */
  19. /* included in all copies or substantial portions of the Software. */
  20. /* */
  21. /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
  22. /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
  23. /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
  24. /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
  25. /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
  26. /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
  27. /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
  28. /*************************************************************************/
  29. #ifndef SCENE_STRING_NAMES_H
  30. #define SCENE_STRING_NAMES_H
  31. #include "string_db.h"
  32. class SceneStringNames {
  33. friend void register_scene_types();
  34. friend void unregister_scene_types();
  35. static SceneStringNames* singleton;
  36. static void create() { singleton = memnew(SceneStringNames); }
  37. static void free() { memdelete( singleton); singleton=NULL; }
  38. SceneStringNames();
  39. public:
  40. _FORCE_INLINE_ static SceneStringNames* get_singleton() { return singleton; }
  41. StringName resized;
  42. StringName dot;
  43. StringName doubledot;
  44. StringName draw;
  45. StringName hide;
  46. StringName visibility_changed;
  47. StringName input_event;
  48. StringName _input_event;
  49. StringName item_rect_changed;
  50. StringName shader_shader;
  51. StringName enter_tree;
  52. StringName exit_tree;
  53. StringName size_flags_changed;
  54. StringName minimum_size_changed;
  55. StringName idle;
  56. StringName iteration;
  57. StringName update;
  58. StringName line_separation;
  59. StringName mouse_enter;
  60. StringName mouse_exit;
  61. StringName focus_enter;
  62. StringName focus_exit;
  63. StringName sort_children;
  64. StringName finished;
  65. StringName animation_changed;
  66. StringName body_enter_shape;
  67. StringName body_enter;
  68. StringName body_exit_shape;
  69. StringName body_exit;
  70. StringName _get_gizmo_geometry;
  71. StringName _can_gizmo_scale;
  72. StringName _fixed_process;
  73. StringName _process;
  74. StringName _enter_world;
  75. StringName _exit_world;
  76. StringName _enter_tree;
  77. StringName _exit_tree;
  78. StringName _draw;
  79. StringName _input;
  80. StringName _ready;
  81. StringName _pressed;
  82. StringName _toggled;
  83. StringName _update_scroll;
  84. StringName _update_xform;
  85. StringName _proxgroup_add;
  86. StringName _proxgroup_remove;
  87. StringName grouped;
  88. StringName ungrouped;
  89. StringName has_point;
  90. StringName get_drag_data;
  91. StringName can_drop_data;
  92. StringName drop_data;
  93. StringName enter_screen;
  94. StringName exit_screen;
  95. StringName enter_viewport;
  96. StringName exit_viewport;
  97. StringName enter_camera;
  98. StringName exit_camera;
  99. StringName _body_enter_tree;
  100. StringName _body_exit_tree;
  101. StringName changed;
  102. StringName _shader_changed;
  103. StringName _spatial_editor_group;
  104. StringName _request_gizmo;
  105. StringName offset;
  106. StringName unit_offset;
  107. StringName rotation_mode;
  108. StringName rotate;
  109. StringName v_offset;
  110. StringName h_offset;
  111. StringName transform_pos;
  112. StringName transform_rot;
  113. StringName transform_scale;
  114. StringName _update_remote;
  115. StringName _update_pairs;
  116. StringName area_enter;
  117. StringName area_exit;
  118. StringName get_minimum_size;
  119. StringName play_play;
  120. StringName _im_update;
  121. StringName _queue_update;
  122. StringName baked_light_changed;
  123. StringName _baked_light_changed;
  124. StringName _mouse_enter;
  125. StringName _mouse_exit;
  126. StringName frame_changed;
  127. };
  128. #endif // SCENE_STRING_NAMES_H