summaryrefslogtreecommitdiffstats
path: root/core/color.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-11 10:36:15 +0100
committerGitHub <noreply@github.com>2017-01-11 10:36:15 +0100
commit57166cd2923cc6d32b37c34f6ca2f32f6941e4a8 (patch)
tree6ac41f0f717267a0164a869be76e941a3caeb9e9 /core/color.h
parentbc26f905817945300d397696330d1ab04a1af33c (diff)
parent23381a530bb4a9c8e8c3e883a7d588bf832cd277 (diff)
downloadredot-engine-57166cd2923cc6d32b37c34f6ca2f32f6941e4a8.tar.gz
Merge pull request #7093 from bojidar-bg/named-colors
Add named colors to GDScript/Visual Script/core.
Diffstat (limited to 'core/color.h')
-rw-r--r--core/color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/color.h b/core/color.h
index 0c547fc81e..50a6761340 100644
--- a/core/color.h
+++ b/core/color.h
@@ -111,6 +111,7 @@ struct Color {
static Color hex(uint32_t p_hex);
static Color html(const String& p_color);
static bool html_is_valid(const String& p_color);
+ static Color named(const String& p_name);
String to_html(bool p_alpha=true) const;
_FORCE_INLINE_ bool operator<(const Color& p_color) const; //used in set keys