diff options
| author | Rémi Verschelde | 2016-06-22 07:51:33 +0200 |
|---|---|---|
| committer | GitHub | 2016-06-22 07:51:33 +0200 |
| commit | 87cb3629f2ae34ee65b2edaa52199c302d14f4e2 (patch) | |
| tree | 20922ffc27fdc1d1cfaf9a54e9e04f318c85cedb /tools/editor/editor_settings.cpp | |
| parent | 5974653307b56cfd8ed5a8b784f23e7f5822a6f4 (diff) | |
| parent | 45f0dec55c64c62f6f47b6fc6735af33afb6e028 (diff) | |
| download | godot-87cb3629f2ae34ee65b2edaa52199c302d14f4e2.tar.gz godot-87cb3629f2ae34ee65b2edaa52199c302d14f4e2.tar.zst godot-87cb3629f2ae34ee65b2edaa52199c302d14f4e2.zip | |
Merge pull request #5344 from Paulb23/code_completion_colors
Code completion box colors
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/editor_settings.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index 49a1158ec..457aecba4 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -674,6 +674,9 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { void EditorSettings::_load_default_text_editor_theme() { set("text_editor/background_color",Color::html("3b000000")); + set("text_editor/completion_background_color", Color::html("2C2A32")); + set("text_editor/completion_selected_color", Color::html("434244")); + set("text_editor/completion_existing_color", Color::html("21dfdfdf")); set("text_editor/caret_color",Color::html("aaaaaa")); set("text_editor/line_number_color",Color::html("66aaaaaa")); set("text_editor/text_color",Color::html("aaaaaa")); @@ -906,6 +909,9 @@ bool EditorSettings::_save_text_editor_theme(String p_file) { String theme_section = "color_theme"; Ref<ConfigFile> cf = memnew( ConfigFile ); // hex is better? cf->set_value(theme_section, "background_color", ((Color)get("text_editor/background_color")).to_html()); + cf->set_value(theme_section, "completion_background_color", ((Color)get("text_editor/completion_background_color")).to_html()); + cf->set_value(theme_section, "completion_selected_color", ((Color)get("text_editor/completion_selected_color")).to_html()); + cf->set_value(theme_section, "completion_existing_color", ((Color)get("text_editor/completion_existing_color")).to_html()); cf->set_value(theme_section, "caret_color", ((Color)get("text_editor/caret_color")).to_html()); cf->set_value(theme_section, "line_number_color", ((Color)get("text_editor/line_number_color")).to_html()); cf->set_value(theme_section, "text_color", ((Color)get("text_editor/text_color")).to_html()); |
