X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fbackend%2FScreen.java;h=2d9cd65459d6ed5f9740a5abad4a1825e1ba06c2;hb=03ae544a1639c127ebec9a46635f2ad465713908;hp=41c07562ed2c67089adb7591472899cc499de8de;hpb=a52cb9df56f75f02b4509000ac63952a48c30f0b;p=fanfix.git diff --git a/src/jexer/backend/Screen.java b/src/jexer/backend/Screen.java index 41c0756..2d9cd65 100644 --- a/src/jexer/backend/Screen.java +++ b/src/jexer/backend/Screen.java @@ -395,4 +395,18 @@ public interface Screen { */ public void setTitle(final String title); + /** + * Get the width of a character cell in pixels. + * + * @return the width in pixels of a character cell + */ + public int getTextWidth(); + + /** + * Get the height of a character cell in pixels. + * + * @return the height in pixels of a character cell + */ + public int getTextHeight(); + }