X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Ftterminal%2FDisplayListener.java;h=7a47921ddad2e2f365330e3e0f38da08cfe3d501;hb=0525b2ed026e0d510fdf23f6d8f4cb4562a17e0b;hp=fcd8854797f344720bf09117f666a325795a7453;hpb=be72cb5ccbd42fe304c0acafc380c5636f0d03a2;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(); + }