X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Ftterminal%2FDisplayListener.java;h=7a47921ddad2e2f365330e3e0f38da08cfe3d501;hb=aa77d68274fff56c0ceca162a687ea70795624ea;hp=fcd8854797f344720bf09117f666a325795a7453;hpb=85c07c5e6db3a5e74f5ba2bd6e7ee2656d5b63a0;p=fanfix.git diff --git a/src/jexer/tterminal/DisplayListener.java b/src/jexer/tterminal/DisplayListener.java index fcd8854..7a47921 100644 --- a/src/jexer/tterminal/DisplayListener.java +++ b/src/jexer/tterminal/DisplayListener.java @@ -39,4 +39,18 @@ public interface DisplayListener { */ public void displayChanged(); + /** + * Function to call to obtain the display width. + * + * @return the number of columns in the display + */ + public int getDisplayWidth(); + + /** + * Function to call to obtain the display height. + * + * @return the number of rows in the display + */ + public int getDisplayHeight(); + }