2014-02-10 01:10:30 +00:00
|
|
|
/**************************************************************************/
|
|
|
|
/* scene_string_names.h */
|
|
|
|
/**************************************************************************/
|
|
|
|
/* This file is part of: */
|
|
|
|
/* GODOT ENGINE */
|
|
|
|
/* https://godotengine.org */
|
|
|
|
/**************************************************************************/
|
|
|
|
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
|
|
|
|
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
|
|
|
|
/* */
|
|
|
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
|
|
/* a copy of this software and associated documentation files (the */
|
|
|
|
/* "Software"), to deal in the Software without restriction, including */
|
|
|
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
|
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
|
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
|
|
/* the following conditions: */
|
|
|
|
/* */
|
|
|
|
/* The above copyright notice and this permission notice shall be */
|
|
|
|
/* included in all copies or substantial portions of the Software. */
|
|
|
|
/* */
|
|
|
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
|
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
|
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
|
|
|
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
|
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
|
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
|
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
|
|
/**************************************************************************/
|
2018-01-04 23:50:27 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
#ifndef SCENE_STRING_NAMES_H
|
|
|
|
#define SCENE_STRING_NAMES_H
|
|
|
|
|
2020-11-07 22:33:38 +00:00
|
|
|
#include "core/string/node_path.h"
|
|
|
|
#include "core/string/string_name.h"
|
2020-02-21 22:26:13 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
class SceneStringNames {
|
|
|
|
friend void register_scene_types();
|
|
|
|
friend void unregister_scene_types();
|
|
|
|
|
|
|
|
static SceneStringNames *singleton;
|
|
|
|
|
|
|
|
static void create() { singleton = memnew(SceneStringNames); }
|
|
|
|
static void free() {
|
|
|
|
memdelete(singleton);
|
2020-04-01 23:20:12 +00:00
|
|
|
singleton = nullptr;
|
2014-02-10 01:10:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SceneStringNames();
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
public:
|
2014-02-10 01:10:30 +00:00
|
|
|
_FORCE_INLINE_ static SceneStringNames *get_singleton() { return singleton; }
|
|
|
|
|
|
|
|
StringName resized;
|
|
|
|
StringName draw;
|
2020-12-08 10:02:17 +00:00
|
|
|
StringName hidden;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName visibility_changed;
|
|
|
|
StringName input_event;
|
2017-01-08 19:28:12 +00:00
|
|
|
StringName gui_input;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName item_rect_changed;
|
2017-06-28 20:00:18 +00:00
|
|
|
StringName shader;
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName tree_entered;
|
2018-01-12 11:28:39 +00:00
|
|
|
StringName tree_exiting;
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName tree_exited;
|
2018-01-20 21:57:59 +00:00
|
|
|
StringName ready;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName size_flags_changed;
|
|
|
|
StringName minimum_size_changed;
|
2016-04-06 14:14:38 +00:00
|
|
|
StringName sleeping_state_changed;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName update;
|
2015-01-08 03:41:34 +00:00
|
|
|
StringName updated;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
StringName line_separation;
|
2024-05-14 13:57:29 +00:00
|
|
|
StringName font;
|
|
|
|
StringName font_size;
|
|
|
|
StringName font_color;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName mouse_entered;
|
|
|
|
StringName mouse_exited;
|
2021-03-26 17:39:05 +00:00
|
|
|
StringName mouse_shape_entered;
|
|
|
|
StringName mouse_shape_exited;
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName focus_entered;
|
|
|
|
StringName focus_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2021-10-05 20:09:01 +00:00
|
|
|
StringName pre_sort_children;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName sort_children;
|
|
|
|
|
|
|
|
StringName finished;
|
2017-01-08 20:35:11 +00:00
|
|
|
StringName animation_finished;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName animation_changed;
|
2016-04-14 15:19:20 +00:00
|
|
|
StringName animation_started;
|
2021-12-06 00:46:03 +00:00
|
|
|
StringName RESET;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2020-02-19 19:48:20 +00:00
|
|
|
StringName pose_updated;
|
2024-04-12 11:39:39 +00:00
|
|
|
StringName skeleton_updated;
|
2021-02-04 08:20:26 +00:00
|
|
|
StringName bone_enabled_changed;
|
|
|
|
StringName show_rest_only_changed;
|
2020-02-19 19:48:20 +00:00
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName body_shape_entered;
|
|
|
|
StringName body_entered;
|
|
|
|
StringName body_shape_exited;
|
|
|
|
StringName body_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName area_shape_entered;
|
|
|
|
StringName area_shape_exited;
|
2015-03-17 03:45:25 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName _ready;
|
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName screen_entered;
|
|
|
|
StringName screen_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
StringName _spatial_editor_group;
|
|
|
|
StringName _request_gizmo;
|
|
|
|
|
|
|
|
StringName offset;
|
|
|
|
StringName rotation_mode;
|
2014-07-06 14:49:27 +00:00
|
|
|
StringName rotate;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName v_offset;
|
|
|
|
StringName h_offset;
|
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName area_entered;
|
|
|
|
StringName area_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2014-12-07 05:04:20 +00:00
|
|
|
StringName frame_changed;
|
2021-06-12 04:44:38 +00:00
|
|
|
StringName texture_changed;
|
2014-09-15 14:33:30 +00:00
|
|
|
|
2015-06-29 03:29:49 +00:00
|
|
|
StringName autoplay;
|
|
|
|
StringName blend_times;
|
|
|
|
StringName speed;
|
|
|
|
|
|
|
|
NodePath path_pp;
|
|
|
|
|
2023-09-04 15:01:33 +00:00
|
|
|
StringName default_; // "default", conflict with C++ keyword.
|
2014-05-29 13:56:39 +00:00
|
|
|
|
2016-05-17 21:27:15 +00:00
|
|
|
StringName node_configuration_warning_changed;
|
|
|
|
|
2018-06-19 01:10:48 +00:00
|
|
|
StringName output;
|
|
|
|
|
2023-08-07 15:33:07 +00:00
|
|
|
StringName Master;
|
|
|
|
|
2020-03-06 17:00:16 +00:00
|
|
|
StringName window_input;
|
|
|
|
|
|
|
|
StringName theme_changed;
|
2020-04-17 02:52:00 +00:00
|
|
|
StringName shader_overrides_group;
|
|
|
|
StringName shader_overrides_group_active;
|
2020-03-04 16:36:09 +00:00
|
|
|
|
2023-09-24 22:32:43 +00:00
|
|
|
StringName _custom_type_script;
|
|
|
|
|
2024-05-14 07:40:21 +00:00
|
|
|
StringName pressed;
|
2024-05-14 12:13:31 +00:00
|
|
|
StringName id_pressed;
|
2024-06-01 10:15:13 +00:00
|
|
|
StringName toggled;
|
2024-05-14 13:50:53 +00:00
|
|
|
|
|
|
|
StringName panel;
|
2024-05-14 12:21:31 +00:00
|
|
|
|
|
|
|
StringName item_selected;
|
2024-05-14 12:28:18 +00:00
|
|
|
|
|
|
|
StringName confirmed;
|
2024-05-14 09:42:00 +00:00
|
|
|
|
|
|
|
StringName text_changed;
|
2024-09-25 14:01:36 +00:00
|
|
|
StringName text_submitted;
|
2024-05-14 09:42:00 +00:00
|
|
|
StringName value_changed;
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
2023-09-04 15:01:33 +00:00
|
|
|
#define SceneStringName(m_name) SceneStringNames::get_singleton()->m_name
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
#endif // SCENE_STRING_NAMES_H
|