diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-02 18:51:27 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-02 18:51:27 +0100 |
commit | 62ed75df9cbac7dd1d73631b5d542000a26325b5 (patch) | |
tree | afb03b8e5b4205282fb7492190119893e84c25a7 /core/variant | |
parent | d3a6855dfced9c55043b3a8d4ae25f1390b3e86d (diff) | |
parent | 653e8f5c86a21652f3706f9e5835d477ad904dc9 (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.cpp | 4 |
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)); |