2023-07-21 09:50:06 +00:00
|
|
|
/**
|
|
|
|
* limbo_string_names.cpp
|
|
|
|
* =============================================================================
|
2024-03-21 20:38:57 +00:00
|
|
|
* Copyright 2021-2024 Serhii Snitsaruk
|
2023-07-21 09:50:06 +00:00
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style
|
|
|
|
* license that can be found in the LICENSE file or at
|
|
|
|
* https://opensource.org/licenses/MIT.
|
|
|
|
* =============================================================================
|
|
|
|
*/
|
2022-08-28 10:54:34 +00:00
|
|
|
|
|
|
|
#include "limbo_string_names.h"
|
|
|
|
|
2024-01-07 04:54:17 +00:00
|
|
|
#ifdef LIMBOAI_MODULE
|
2024-01-09 12:34:24 +00:00
|
|
|
|
2024-01-07 04:54:17 +00:00
|
|
|
#define SN(m_arg) (StaticCString::create(m_arg))
|
2024-01-09 12:34:24 +00:00
|
|
|
|
|
|
|
#endif // ! LIMBOAI_MODULE
|
2024-01-07 04:54:17 +00:00
|
|
|
|
|
|
|
#ifdef LIMBOAI_GDEXTENSION
|
2024-01-09 12:34:24 +00:00
|
|
|
#include "godot_cpp/variant/string_name.hpp"
|
|
|
|
|
2024-01-07 04:54:17 +00:00
|
|
|
#define SN(m_arg) (StringName(m_arg))
|
2024-01-09 12:34:24 +00:00
|
|
|
|
|
|
|
#endif // ! LIMBOAI_GDEXTENSION
|
2024-01-07 04:54:17 +00:00
|
|
|
|
2022-08-28 10:54:34 +00:00
|
|
|
LimboStringNames *LimboStringNames::singleton = nullptr;
|
|
|
|
|
|
|
|
LimboStringNames::LimboStringNames() {
|
2024-01-09 12:34:24 +00:00
|
|
|
_generate_name = SN("_generate_name");
|
|
|
|
_replace_task = SN("_replace_task");
|
2024-08-21 15:30:30 +00:00
|
|
|
_update_task_tree = SN("_update_task_tree");
|
2024-01-07 04:54:17 +00:00
|
|
|
_weight_ = SN("_weight_");
|
2024-01-09 12:34:24 +00:00
|
|
|
accent_color = SN("accent_color");
|
2024-02-08 16:10:31 +00:00
|
|
|
ActionCopy = SN("ActionCopy");
|
|
|
|
ActionCut = SN("ActionCut");
|
|
|
|
ActionPaste = SN("ActionPaste");
|
2024-03-05 11:58:55 +00:00
|
|
|
active_state_changed = SN("active_state_changed");
|
2024-01-24 22:11:09 +00:00
|
|
|
Add = SN("Add");
|
2024-01-09 12:34:24 +00:00
|
|
|
add_child = SN("add_child");
|
|
|
|
add_child_at_index = SN("add_child_at_index");
|
|
|
|
AnimationFilter = SN("AnimationFilter");
|
|
|
|
behavior_tree_finished = SN("behavior_tree_finished");
|
2024-01-07 05:51:34 +00:00
|
|
|
bold = SN("bold");
|
2024-01-24 22:11:09 +00:00
|
|
|
button_down = SN("button_down");
|
|
|
|
button_up = SN("button_up");
|
2024-01-28 21:25:31 +00:00
|
|
|
call_deferred = SN("call_deferred");
|
2024-01-09 12:34:24 +00:00
|
|
|
changed = SN("changed");
|
2024-09-19 21:35:14 +00:00
|
|
|
Close = SN("Close");
|
2024-01-24 22:11:09 +00:00
|
|
|
dark_color_2 = SN("dark_color_2");
|
2024-01-09 12:34:24 +00:00
|
|
|
Debug = SN("Debug");
|
|
|
|
disabled_font_color = SN("disabled_font_color");
|
|
|
|
doc_italic = SN("doc_italic");
|
|
|
|
draw = SN("draw");
|
|
|
|
Duplicate = SN("Duplicate");
|
2024-01-25 21:01:14 +00:00
|
|
|
Edit = SN("Edit");
|
|
|
|
EditAddRemove = SN("EditAddRemove");
|
2024-01-09 12:34:24 +00:00
|
|
|
Editor = SN("Editor");
|
|
|
|
EditorFonts = SN("EditorFonts");
|
|
|
|
EditorIcons = SN("EditorIcons");
|
2024-01-09 20:47:22 +00:00
|
|
|
EditorStyles = SN("EditorStyles");
|
2024-09-19 21:35:14 +00:00
|
|
|
emit_signal = SN("emit_signal");
|
2024-01-09 12:34:24 +00:00
|
|
|
entered = SN("entered");
|
|
|
|
error_value = SN("error_value");
|
2024-03-04 14:53:39 +00:00
|
|
|
EVENT_FAILURE = SN("failure");
|
|
|
|
EVENT_FINISHED = SN("finished");
|
|
|
|
EVENT_SUCCESS = SN("success");
|
2024-01-09 12:34:24 +00:00
|
|
|
exited = SN("exited");
|
|
|
|
favorite_tasks_changed = SN("favorite_tasks_changed");
|
|
|
|
Favorites = SN("Favorites");
|
2024-09-19 21:35:14 +00:00
|
|
|
FlatButton = SN("FlatButton");
|
|
|
|
Focus = SN("Focus");
|
2024-05-15 10:50:33 +00:00
|
|
|
focus_exited = SN("focus_exited");
|
2024-01-09 12:34:24 +00:00
|
|
|
font = SN("font");
|
|
|
|
font_color = SN("font_color");
|
|
|
|
font_size = SN("font_size");
|
2024-08-03 09:07:06 +00:00
|
|
|
freed = SN("freed");
|
2024-01-07 16:33:05 +00:00
|
|
|
gui_input = SN("gui_input");
|
2024-01-28 16:49:38 +00:00
|
|
|
GuiOptionArrow = SN("GuiOptionArrow");
|
2024-01-07 16:33:05 +00:00
|
|
|
GuiTreeArrowDown = SN("GuiTreeArrowDown");
|
|
|
|
GuiTreeArrowRight = SN("GuiTreeArrowRight");
|
2024-01-24 22:11:09 +00:00
|
|
|
HeaderSmall = SN("HeaderSmall");
|
2024-01-07 16:33:05 +00:00
|
|
|
Help = SN("Help");
|
2024-09-19 21:35:14 +00:00
|
|
|
h_separation = SN("h_separation");
|
2024-01-09 12:34:24 +00:00
|
|
|
icon_max_width = SN("icon_max_width");
|
2024-09-11 03:05:38 +00:00
|
|
|
class_icon_size = SN("class_icon_size");
|
2024-01-09 12:34:24 +00:00
|
|
|
id_pressed = SN("id_pressed");
|
2024-01-13 21:40:27 +00:00
|
|
|
Info = SN("Info");
|
2024-01-09 12:34:24 +00:00
|
|
|
item_collapsed = SN("item_collapsed");
|
2024-01-09 20:47:22 +00:00
|
|
|
item_selected = SN("item_selected");
|
2024-01-28 16:49:38 +00:00
|
|
|
LimboVarAdd = SN("LimboVarAdd");
|
2024-05-14 11:29:04 +00:00
|
|
|
LimboVarEmpty = SN("LimboVarEmpty");
|
|
|
|
LimboVarError = SN("LimboVarError");
|
2024-01-28 16:49:38 +00:00
|
|
|
LimboVarExists = SN("LimboVarExists");
|
|
|
|
LimboVarNotFound = SN("LimboVarNotFound");
|
2024-01-28 20:58:18 +00:00
|
|
|
LimboVarPrivate = SN("LimboVarPrivate");
|
2024-01-09 12:34:24 +00:00
|
|
|
LineEdit = SN("LineEdit");
|
|
|
|
Load = SN("Load");
|
|
|
|
managed = SN("managed");
|
|
|
|
mode_changed = SN("mode_changed");
|
2024-01-28 16:49:38 +00:00
|
|
|
mouse_entered = SN("mouse_entered");
|
|
|
|
mouse_exited = SN("mouse_exited");
|
2024-01-09 12:34:24 +00:00
|
|
|
MoveDown = SN("MoveDown");
|
|
|
|
MoveUp = SN("MoveUp");
|
|
|
|
New = SN("New");
|
|
|
|
NewRoot = SN("NewRoot");
|
|
|
|
NodeWarning = SN("NodeWarning");
|
2024-01-07 16:33:05 +00:00
|
|
|
NonFavorite = SN("NonFavorite");
|
|
|
|
normal = SN("normal");
|
2024-01-24 22:11:09 +00:00
|
|
|
panel = SN("panel");
|
2024-04-01 14:34:36 +00:00
|
|
|
plan_changed = SN("plan_changed");
|
2024-01-09 12:34:24 +00:00
|
|
|
popup_hide = SN("popup_hide");
|
|
|
|
pressed = SN("pressed");
|
2024-01-07 20:04:18 +00:00
|
|
|
probability_clicked = SN("probability_clicked");
|
2024-01-09 12:34:24 +00:00
|
|
|
Reload = SN("Reload");
|
|
|
|
Remove = SN("Remove");
|
|
|
|
remove_child = SN("remove_child");
|
|
|
|
Rename = SN("Rename");
|
2024-01-09 20:47:22 +00:00
|
|
|
request_open_in_screen = SN("request_open_in_screen");
|
2024-01-07 20:04:18 +00:00
|
|
|
rmb_pressed = SN("rmb_pressed");
|
2024-01-09 12:34:24 +00:00
|
|
|
Save = SN("Save");
|
|
|
|
Script = SN("Script");
|
|
|
|
ScriptCreate = SN("ScriptCreate");
|
|
|
|
Search = SN("Search");
|
2024-01-24 22:11:09 +00:00
|
|
|
separation = SN("separation");
|
2024-01-09 12:34:24 +00:00
|
|
|
set_custom_name = SN("set_custom_name");
|
|
|
|
set_root_task = SN("set_root_task");
|
2024-09-19 21:35:14 +00:00
|
|
|
set_visible = SN("set_visible");
|
2024-01-28 21:25:31 +00:00
|
|
|
set_v_scroll = SN("set_v_scroll");
|
2024-01-09 12:34:24 +00:00
|
|
|
setup = SN("setup");
|
2024-01-09 20:47:22 +00:00
|
|
|
started = SN("started");
|
2024-01-09 12:34:24 +00:00
|
|
|
StatusWarning = SN("StatusWarning");
|
2024-01-09 20:47:22 +00:00
|
|
|
stopped = SN("stopped");
|
2024-01-07 20:04:18 +00:00
|
|
|
task_activated = SN("task_activated");
|
2024-01-09 12:34:24 +00:00
|
|
|
task_button_pressed = SN("task_button_pressed");
|
|
|
|
task_button_rmb = SN("task_button_rmb");
|
2024-09-09 18:19:03 +00:00
|
|
|
tasks_dragged = SN("tasks_dragged");
|
2024-01-09 12:34:24 +00:00
|
|
|
task_meta = SN("task_meta");
|
|
|
|
task_selected = SN("task_selected");
|
|
|
|
text_changed = SN("text_changed");
|
2024-01-24 22:11:09 +00:00
|
|
|
text_submitted = SN("text_submitted");
|
2024-01-09 12:34:24 +00:00
|
|
|
timeout = SN("timeout");
|
|
|
|
toggled = SN("toggled");
|
2024-01-10 00:17:09 +00:00
|
|
|
Tools = SN("Tools");
|
2024-01-24 22:11:09 +00:00
|
|
|
Tree = SN("Tree");
|
|
|
|
TripleBar = SN("TripleBar");
|
2024-07-31 12:40:30 +00:00
|
|
|
update_mode = SN("update_mode");
|
2024-01-09 12:34:24 +00:00
|
|
|
updated = SN("updated");
|
|
|
|
visibility_changed = SN("visibility_changed");
|
2024-01-09 20:47:22 +00:00
|
|
|
window_visibility_changed = SN("window_visibility_changed");
|
2024-01-06 23:47:46 +00:00
|
|
|
|
|
|
|
repeat_forever.parse_utf8("Repeat ∞");
|
2024-01-15 16:03:52 +00:00
|
|
|
output_var_prefix.parse_utf8("➜");
|
2024-05-01 21:20:17 +00:00
|
|
|
|
|
|
|
node_pp = NodePath("..");
|
2024-01-13 16:10:42 +00:00
|
|
|
}
|