scene_string_names.cpp 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /**************************************************************************/
  2. /* scene_string_names.cpp */
  3. /**************************************************************************/
  4. /* This file is part of: */
  5. /* GODOT ENGINE */
  6. /* https://godotengine.org */
  7. /**************************************************************************/
  8. /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
  9. /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
  10. /* */
  11. /* Permission is hereby granted, free of charge, to any person obtaining */
  12. /* a copy of this software and associated documentation files (the */
  13. /* "Software"), to deal in the Software without restriction, including */
  14. /* without limitation the rights to use, copy, modify, merge, publish, */
  15. /* distribute, sublicense, and/or sell copies of the Software, and to */
  16. /* permit persons to whom the Software is furnished to do so, subject to */
  17. /* the following conditions: */
  18. /* */
  19. /* The above copyright notice and this permission notice shall be */
  20. /* included in all copies or substantial portions of the Software. */
  21. /* */
  22. /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
  23. /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
  24. /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
  25. /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
  26. /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
  27. /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
  28. /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
  29. /**************************************************************************/
  30. #include "scene_string_names.h"
  31. SceneStringNames *SceneStringNames::singleton = nullptr;
  32. SceneStringNames::SceneStringNames() {
  33. resized = StaticCString::create("resized");
  34. draw = StaticCString::create("draw");
  35. hidden = StaticCString::create("hidden");
  36. visibility_changed = StaticCString::create("visibility_changed");
  37. input_event = StaticCString::create("input_event");
  38. shader = StaticCString::create("shader");
  39. tree_entered = StaticCString::create("tree_entered");
  40. tree_exiting = StaticCString::create("tree_exiting");
  41. tree_exited = StaticCString::create("tree_exited");
  42. ready = StaticCString::create("ready");
  43. item_rect_changed = StaticCString::create("item_rect_changed");
  44. size_flags_changed = StaticCString::create("size_flags_changed");
  45. minimum_size_changed = StaticCString::create("minimum_size_changed");
  46. sleeping_state_changed = StaticCString::create("sleeping_state_changed");
  47. finished = StaticCString::create("finished");
  48. animation_finished = StaticCString::create("animation_finished");
  49. animation_changed = StaticCString::create("animation_changed");
  50. animation_started = StaticCString::create("animation_started");
  51. RESET = StaticCString::create("RESET");
  52. pose_updated = StaticCString::create("pose_updated");
  53. skeleton_updated = StaticCString::create("skeleton_updated");
  54. bone_enabled_changed = StaticCString::create("bone_enabled_changed");
  55. show_rest_only_changed = StaticCString::create("show_rest_only_changed");
  56. mouse_entered = StaticCString::create("mouse_entered");
  57. mouse_exited = StaticCString::create("mouse_exited");
  58. mouse_shape_entered = StaticCString::create("mouse_shape_entered");
  59. mouse_shape_exited = StaticCString::create("mouse_shape_exited");
  60. focus_entered = StaticCString::create("focus_entered");
  61. focus_exited = StaticCString::create("focus_exited");
  62. pre_sort_children = StaticCString::create("pre_sort_children");
  63. sort_children = StaticCString::create("sort_children");
  64. body_shape_entered = StaticCString::create("body_shape_entered");
  65. body_entered = StaticCString::create("body_entered");
  66. body_shape_exited = StaticCString::create("body_shape_exited");
  67. body_exited = StaticCString::create("body_exited");
  68. area_shape_entered = StaticCString::create("area_shape_entered");
  69. area_shape_exited = StaticCString::create("area_shape_exited");
  70. update = StaticCString::create("update");
  71. updated = StaticCString::create("updated");
  72. _ready = StaticCString::create("_ready");
  73. screen_entered = StaticCString::create("screen_entered");
  74. screen_exited = StaticCString::create("screen_exited");
  75. gui_input = StaticCString::create("gui_input");
  76. _spatial_editor_group = StaticCString::create("_spatial_editor_group");
  77. _request_gizmo = StaticCString::create("_request_gizmo");
  78. offset = StaticCString::create("offset");
  79. rotation_mode = StaticCString::create("rotation_mode");
  80. rotate = StaticCString::create("rotate");
  81. h_offset = StaticCString::create("h_offset");
  82. v_offset = StaticCString::create("v_offset");
  83. area_entered = StaticCString::create("area_entered");
  84. area_exited = StaticCString::create("area_exited");
  85. line_separation = StaticCString::create("line_separation");
  86. font = StaticCString::create("font");
  87. font_size = StaticCString::create("font_size");
  88. font_color = StaticCString::create("font_color");
  89. frame_changed = StaticCString::create("frame_changed");
  90. texture_changed = StaticCString::create("texture_changed");
  91. autoplay = StaticCString::create("autoplay");
  92. blend_times = StaticCString::create("blend_times");
  93. speed = StaticCString::create("speed");
  94. node_configuration_warning_changed = StaticCString::create("node_configuration_warning_changed");
  95. output = StaticCString::create("output");
  96. path_pp = NodePath("..");
  97. // Audio bus name.
  98. Master = StaticCString::create("Master");
  99. default_ = StaticCString::create("default");
  100. window_input = StaticCString::create("window_input");
  101. theme_changed = StaticCString::create("theme_changed");
  102. shader_overrides_group = StaticCString::create("_shader_overrides_group_");
  103. shader_overrides_group_active = StaticCString::create("_shader_overrides_group_active_");
  104. _custom_type_script = StaticCString::create("_custom_type_script");
  105. pressed = StaticCString::create("pressed");
  106. id_pressed = StaticCString::create("id_pressed");
  107. toggled = StaticCString::create("toggled");
  108. panel = StaticCString::create("panel");
  109. item_selected = StaticCString::create("item_selected");
  110. confirmed = StaticCString::create("confirmed");
  111. text_changed = StaticCString::create("text_changed");
  112. text_submitted = StaticCString::create("text_submitted");
  113. value_changed = StaticCString::create("value_changed");
  114. }