X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fmenu%2FTMenu.java;h=667673b642c4f340dd91b411fe38e3904d0f5687;hb=be9987235887cb73637b91ab6921158ecaef9d95;hp=7cf6eb5d10d0ac2b5676f6bacc649a44c1065c84;hpb=68c5cd6bec3dc425ef5b55fec399d4bdc9afa7cb;p=fanfix.git diff --git a/src/jexer/menu/TMenu.java b/src/jexer/menu/TMenu.java index 7cf6eb5..667673b 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. */ @@ -422,7 +445,7 @@ public final class TMenu extends TWindow { case MID_OPEN_FILE: label = i18n.getString("menuOpen"); - key = kbAltO; + key = kbF3; break; case MID_CUT: