summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-02 18:51:27 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-02 18:51:27 +0100
commit62ed75df9cbac7dd1d73631b5d542000a26325b5 (patch)
treeafb03b8e5b4205282fb7492190119893e84c25a7 /core/variant
parentd3a6855dfced9c55043b3a8d4ae25f1390b3e86d (diff)
parent653e8f5c86a21652f3706f9e5835d477ad904dc9 (diff)
Merge pull request #64830 from dalexeev/color-hide-internals
Remove internal functions of named colors from the public API
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_call.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp
index 688650f532..effe7ddc62 100644
--- a/core/variant/variant_call.cpp
+++ b/core/variant/variant_call.cpp
@@ -1835,10 +1835,6 @@ static void _register_variant_builtin_methods() {
bind_static_method(Color, hex64, sarray("hex"), varray());
bind_static_method(Color, html, sarray("rgba"), varray());
bind_static_method(Color, html_is_valid, sarray("color"), varray());
- bind_static_method(Color, find_named_color, sarray("name"), varray());
- bind_static_method(Color, get_named_color_count, sarray(), varray());
- bind_static_method(Color, get_named_color_name, sarray("idx"), varray());
- bind_static_method(Color, get_named_color, sarray("idx"), varray());
bind_static_method(Color, from_string, sarray("str", "default"), varray());
bind_static_method(Color, from_hsv, sarray("h", "s", "v", "alpha"), varray(1.0));
bind_static_method(Color, from_ok_hsl, sarray("h", "s", "l", "alpha"), varray(1.0));