mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-08 19:44:09 +08: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:
committed by
Fredrik Fornwall
parent
c2ab5bcd50
commit
9f36ed06b8
@@ -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;
|
||||||
|
Reference in New Issue
Block a user