aboutsummaryrefslogtreecommitdiff
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorBernhard Liebl2017-11-01 21:49:39 +0100
committerBernhard Liebl2017-11-21 09:11:39 +0100
commit80ad8afc85a90e6fda1b136b13c1eb42e35c115e (patch)
treebc145bc5c008a2abfa159f4d5437c8d0b8813aca /editor/code_editor.h
parent5ff84070ca3604b43e86562a3d000ed924a604a2 (diff)
downloadgodot-80ad8afc85a90e6fda1b136b13c1eb42e35c115e.tar.gz
godot-80ad8afc85a90e6fda1b136b13c1eb42e35c115e.tar.zst
godot-80ad8afc85a90e6fda1b136b13c1eb42e35c115e.zip
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index 410dd9987..656ea4b47 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -204,6 +204,7 @@ class CodeTextEditor : public VBoxContainer {
Timer *font_resize_timer;
int font_resize_val;
+ real_t font_size;
Label *error;
@@ -212,10 +213,12 @@ class CodeTextEditor : public VBoxContainer {
void _update_font();
void _complete_request();
void _font_resize_timeout();
+ bool _add_font_size(int p_delta);
void _text_editor_gui_input(const Ref<InputEvent> &p_event);
void _zoom_in();
void _zoom_out();
+ void _zoom_changed();
void _reset_zoom();
CodeTextEditorCodeCompleteFunc code_complete_func;