added icon updating to most ui elements

This commit is contained in:
toger5 2017-08-30 01:03:13 +02:00
parent 97d7d84cac
commit 7793bfc544
10 changed files with 162 additions and 5 deletions

View file

@ -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"));
}
}