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