Add missing map.h include in color defs
This commit is contained in:
parent
82d087638d
commit
5e13a762ec
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
||||||
// Names from https://en.wikipedia.org/wiki/List_of_colors (through https://raw.githubusercontent.com/SuperUserNameMan/color_to_name/616a7cddafefda91478b7bc26167de97fb5badb1/godot_version.gd), slightly edited and normalized
|
// Names from https://en.wikipedia.org/wiki/List_of_colors (through https://raw.githubusercontent.com/SuperUserNameMan/color_to_name/616a7cddafefda91478b7bc26167de97fb5badb1/godot_version.gd), slightly edited and normalized
|
||||||
|
#include "map.h"
|
||||||
|
|
||||||
static Map<String, Color> _named_colors;
|
static Map<String, Color> _named_colors;
|
||||||
static void _populate_named_colors() {
|
static void _populate_named_colors() {
|
||||||
if(!_named_colors.empty()) return;
|
if(!_named_colors.empty()) return;
|
||||||
|
|
Loading…
Reference in a new issue