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:
RangerMauve
2018-03-10 15:33:26 -05:00
committed by Fredrik Fornwall
parent c2ab5bcd50
commit 9f36ed06b8

View File

@@ -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;