2014-02-10 09:10:30 +08: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-05 07:50:27 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
#ifndef SCENE_STRING_NAMES_H
|
|
|
|
#define SCENE_STRING_NAMES_H
|
|
|
|
|
2020-11-08 06:33:38 +08:00
|
|
|
#include "core/string/node_path.h"
|
|
|
|
#include "core/string/string_name.h"
|
2020-02-22 06:26:13 +08:00
|
|
|
|
2014-02-10 09:10:30 +08: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-02 07:20:12 +08:00
|
|
|
singleton = nullptr;
|
2014-02-10 09:10:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
SceneStringNames();
|
|
|
|
|
2017-03-05 23:44:50 +08:00
|
|
|
public:
|
2014-02-10 09:10:30 +08:00
|
|
|
_FORCE_INLINE_ static SceneStringNames *get_singleton() { return singleton; }
|
|
|
|
|
|
|
|
StringName resized;
|
|
|
|
StringName draw;
|
2020-12-08 18:02:17 +08:00
|
|
|
StringName hidden;
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName visibility_changed;
|
|
|
|
StringName input_event;
|
2017-01-09 03:28:12 +08:00
|
|
|
StringName gui_input;
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName item_rect_changed;
|
2017-06-29 04:00:18 +08:00
|
|
|
StringName shader;
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName tree_entered;
|
2018-01-12 19:28:39 +08:00
|
|
|
StringName tree_exiting;
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName tree_exited;
|
2018-01-21 05:57:59 +08:00
|
|
|
StringName ready;
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName size_flags_changed;
|
|
|
|
StringName minimum_size_changed;
|
2016-04-06 22:14:38 +08:00
|
|
|
StringName sleeping_state_changed;
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName update;
|
2015-01-08 11:41:34 +08:00
|
|
|
StringName updated;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
StringName line_separation;
|
2024-05-14 21:57:29 +08:00
|
|
|
StringName font;
|
|
|
|
StringName font_size;
|
|
|
|
StringName font_color;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName mouse_entered;
|
|
|
|
StringName mouse_exited;
|
2021-03-27 01:39:05 +08:00
|
|
|
StringName mouse_shape_entered;
|
|
|
|
StringName mouse_shape_exited;
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName focus_entered;
|
|
|
|
StringName focus_exited;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2021-10-06 04:09:01 +08:00
|
|
|
StringName pre_sort_children;
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName sort_children;
|
|
|
|
|
|
|
|
StringName finished;
|
2017-01-09 04:35:11 +08:00
|
|
|
StringName animation_finished;
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName animation_changed;
|
2016-04-14 23:19:20 +08:00
|
|
|
StringName animation_started;
|
2021-12-06 08:46:03 +08:00
|
|
|
StringName RESET;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2020-02-20 03:48:20 +08:00
|
|
|
StringName pose_updated;
|
2024-04-12 19:39:39 +08:00
|
|
|
StringName skeleton_updated;
|
2021-02-04 16:20:26 +08:00
|
|
|
StringName bone_enabled_changed;
|
|
|
|
StringName show_rest_only_changed;
|
2020-02-20 03:48:20 +08:00
|
|
|
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName body_shape_entered;
|
|
|
|
StringName body_entered;
|
|
|
|
StringName body_shape_exited;
|
|
|
|
StringName body_exited;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName area_shape_entered;
|
|
|
|
StringName area_shape_exited;
|
2015-03-17 11:45:25 +08:00
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName _ready;
|
|
|
|
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName screen_entered;
|
|
|
|
StringName screen_exited;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
|
|
|
StringName _spatial_editor_group;
|
|
|
|
StringName _request_gizmo;
|
|
|
|
|
|
|
|
StringName offset;
|
|
|
|
StringName rotation_mode;
|
2014-07-06 22:49:27 +08:00
|
|
|
StringName rotate;
|
2014-02-10 09:10:30 +08:00
|
|
|
StringName v_offset;
|
|
|
|
StringName h_offset;
|
|
|
|
|
2017-01-12 11:51:08 +08:00
|
|
|
StringName area_entered;
|
|
|
|
StringName area_exited;
|
2014-02-10 09:10:30 +08:00
|
|
|
|
2014-12-07 13:04:20 +08:00
|
|
|
StringName frame_changed;
|
2021-06-12 12:44:38 +08:00
|
|
|
StringName texture_changed;
|
2014-09-15 22:33:30 +08:00
|
|
|
|
2015-06-29 11:29:49 +08:00
|
|
|
StringName autoplay;
|
|
|
|
StringName blend_times;
|
|
|
|
StringName speed;
|
|
|
|
|
|
|
|
NodePath path_pp;
|
|
|
|
|
2023-09-04 23:01:33 +08:00
|
|
|
StringName default_; // "default", conflict with C++ keyword.
|
2014-05-29 21:56:39 +08:00
|
|
|
|
2016-05-18 05:27:15 +08:00
|
|
|
StringName node_configuration_warning_changed;
|
|
|
|
|
2018-06-19 09:10:48 +08:00
|
|
|
StringName output;
|
|
|
|
|
2023-08-07 23:33:07 +08:00
|
|
|
StringName Master;
|
|
|
|
|
2020-03-07 01:00:16 +08:00
|
|
|
StringName window_input;
|
|
|
|
|
|
|
|
StringName theme_changed;
|
2020-04-17 10:52:00 +08:00
|
|
|
StringName shader_overrides_group;
|
|
|
|
StringName shader_overrides_group_active;
|
2020-03-05 00:36:09 +08:00
|
|
|
|
2024-05-14 15:40:21 +08:00
|
|
|
StringName pressed;
|
2024-05-14 20:13:31 +08:00
|
|
|
StringName id_pressed;
|
2024-05-14 21:50:53 +08:00
|
|
|
|
|
|
|
StringName panel;
|
2024-05-14 20:21:31 +08:00
|
|
|
|
|
|
|
StringName item_selected;
|
2024-05-14 20:28:18 +08:00
|
|
|
|
|
|
|
StringName confirmed;
|
2024-05-14 17:42:00 +08:00
|
|
|
|
|
|
|
StringName text_changed;
|
|
|
|
StringName value_changed;
|
2014-02-10 09:10:30 +08:00
|
|
|
};
|
|
|
|
|
2023-09-04 23:01:33 +08:00
|
|
|
#define SceneStringName(m_name) SceneStringNames::get_singleton()->m_name
|
|
|
|
|
2014-02-10 09:10:30 +08:00
|
|
|
#endif // SCENE_STRING_NAMES_H
|