summaryrefslogtreecommitdiffstats
path: root/scene/gui/code_edit.h
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-09-14 15:21:45 +0200
committerYuri Sizov <yuris@humnom.net>2023-09-14 15:21:45 +0200
commit56e54b49b65c0feb4368ec88a89c2d40af1b4ad3 (patch)
tree3089a9a0bbdd637b2bc816fc5d1f46ec6608f41b /scene/gui/code_edit.h
parentded139384e5a478a3f942a463f341b53a3f6fffd (diff)
parentfe000277eaea77bb19ca0c5dae650ab4f76ccef0 (diff)
downloadredot-engine-56e54b49b65c0feb4368ec88a89c2d40af1b4ad3.tar.gz
Merge pull request #81551 from YuriSizov/gui-cache-all-the-theme
Bind remaining theme properties to their respective classes
Diffstat (limited to 'scene/gui/code_edit.h')
-rw-r--r--scene/gui/code_edit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/gui/code_edit.h b/scene/gui/code_edit.h
index 53ff65f376..e688af2bda 100644
--- a/scene/gui/code_edit.h
+++ b/scene/gui/code_edit.h
@@ -278,11 +278,17 @@ private:
/* Other visuals */
Ref<StyleBox> style_normal;
+ Color brace_mismatch_color;
+
Ref<Font> font;
int font_size = 16;
int line_spacing = 1;
} theme_cache;
+ virtual Color _get_brace_mismatch_color() const override;
+ virtual Color _get_code_folding_color() const override;
+ virtual Ref<Texture2D> _get_folded_eol_icon() const override;
+
/* Callbacks */
int lines_edited_changed = 0;
int lines_edited_from = -1;