mirror of
https://github.com/termux/termux-app
synced 2024-06-21 08:37:10 +00: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
|
@ -16,7 +16,7 @@ import com.termux.terminal.WcWidth;
|
|||
* <p/>
|
||||
* 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 Typeface mTypeface;
|
||||
|
|
Loading…
Reference in New Issue
Block a user