mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-24 18:01:03 +01:00
Make TerminalRenderer public
I want to use the renderer with a custom canvas without having to render to an Android View which requires a context and all sorts of stuff. Can't currently do that because the renderer is package-private
This commit is contained in:
parent
c2ab5bcd50
commit
9f36ed06b8
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ import com.termux.terminal.WcWidth;
|
||||||
* <p/>
|
* <p/>
|
||||||
* Saves font metrics, so needs to be recreated each time the typeface or font size changes.
|
* Saves font metrics, so needs to be recreated each time the typeface or font size changes.
|
||||||
*/
|
*/
|
||||||
final class TerminalRenderer {
|
public final class TerminalRenderer {
|
||||||
|
|
||||||
final int mTextSize;
|
final int mTextSize;
|
||||||
final Typeface mTypeface;
|
final Typeface mTypeface;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue