mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 03:34:17 +00:00
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
This commit is contained in:
parent
07d14f5bb8
commit
99666de00f
162 changed files with 7008 additions and 3564 deletions
|
|
@ -1485,12 +1485,19 @@ void ScriptEditor::_notification(int p_what) {
|
|||
EditorFileSystem::get_singleton()->connect("filesystem_changed", callable_mp(this, &ScriptEditor::_filesystem_changed));
|
||||
[[fallthrough]];
|
||||
}
|
||||
case NOTIFICATION_TRANSLATION_CHANGED:
|
||||
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
help_search->set_icon(get_theme_icon("HelpSearch", "EditorIcons"));
|
||||
site_search->set_icon(get_theme_icon("Instance", "EditorIcons"));
|
||||
|
||||
script_forward->set_icon(get_theme_icon("Forward", "EditorIcons"));
|
||||
script_back->set_icon(get_theme_icon("Back", "EditorIcons"));
|
||||
if (is_layout_rtl()) {
|
||||
script_forward->set_icon(get_theme_icon("Back", "EditorIcons"));
|
||||
script_back->set_icon(get_theme_icon("Forward", "EditorIcons"));
|
||||
} else {
|
||||
script_forward->set_icon(get_theme_icon("Forward", "EditorIcons"));
|
||||
script_back->set_icon(get_theme_icon("Back", "EditorIcons"));
|
||||
}
|
||||
|
||||
members_overview_alphabeta_sort_button->set_icon(get_theme_icon("Sort", "EditorIcons"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue