From 7793bfc544deb6517ca68c3e295eaba27bf74910 Mon Sep 17 00:00:00 2001 From: toger5 Date: Wed, 30 Aug 2017 01:03:13 +0200 Subject: added icon updating to most ui elements --- editor/code_editor.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'editor/code_editor.cpp') diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index ad52f445d..e09145c05 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -92,6 +92,13 @@ void FindReplaceBar::_notification(int p_what) { } else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) { set_process_unhandled_input(is_visible_in_tree()); + } else if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) { + + find_prev->set_icon(get_icon("MoveUp", "EditorIcons")); + find_next->set_icon(get_icon("MoveDown", "EditorIcons")); + hide_button->set_normal_texture(get_icon("Close", "EditorIcons")); + hide_button->set_hover_texture(get_icon("CloseHover", "EditorIcons")); + hide_button->set_pressed_texture(get_icon("Close", "EditorIcons")); } } -- cgit v1.2.3-70-g09d2