X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fmenu%2FTMenu.java;h=b9641e1eab4a31fd0179ffed4cb53e4e040d66e8;hb=159f076db8ec60010cdf87b1164a875d51875dd4;hp=7cf6eb5d10d0ac2b5676f6bacc649a44c1065c84;hpb=03df54ddc28af9afe263cd8b16eade8b6e856187;p=nikiroo-utils.git diff --git a/src/jexer/menu/TMenu.java b/src/jexer/menu/TMenu.java index 7cf6eb5..b9641e1 100644 --- a/src/jexer/menu/TMenu.java +++ b/src/jexer/menu/TMenu.java @@ -56,6 +56,29 @@ public final class TMenu extends TWindow { */ boolean isSubMenu = false; + /** + * The X position of the menu's title. + */ + private int titleX; + + /** + * Set the menu title X position. + * + * @param titleX the position + */ + public void setTitleX(final int titleX) { + this.titleX = titleX; + } + + /** + * Get the menu title X position. + * + * @return the position + */ + public int getTitleX() { + return titleX; + } + /** * The shortcut and title. */