FontTrueType: Allow disable emoji fallback.

Vector2: Added round, roundUp, roundDown.
KeyEvent: Now sends also the scancode.
GlyphDrawable force glyph offset to be an integer value.
TerminalDisplay: Allow emoji fonts. Fixed minor bugs. Added events callback.
TerminalEmulator: Added clearHistory.
eterm: Implemented title updates.
This commit is contained in:
Martín Lucas Golini
2022-06-27 02:05:26 -03:00
parent 919b9145d7
commit d949667eaf
18 changed files with 184 additions and 57 deletions

View File

@@ -159,7 +159,8 @@ void GlobalSearchController::initGlobalSearchBar(
if ( mGlobalSearchInput->hasFocus() ) {
mGlobalSearchBarLayout->execute( "search-in-files" );
} else {
KeyEvent keyEvent( mGlobalSearchTree, Event::KeyDown, KEY_RETURN, 0, 0 );
KeyEvent keyEvent( mGlobalSearchTree, Event::KeyDown, KEY_RETURN, SCANCODE_UNKNOWN, 0,
0 );
mGlobalSearchTree->forceKeyDown( keyEvent );
}
} );
@@ -533,4 +534,4 @@ void GlobalSearchController::initGlobalSearchTree( UITreeViewGlobalSearch* searc
} );
}
}
} // namespace ecode