- textField = addText(text.toString(), 0, 0, getWidth(), getHeight());
+
+ statusBar = newStatusBar(desc(meta));
+ statusBar.addShortcutKeypress(TKeypress.kbF10, TCommand.cmExit, "Exit");
+
+ // -3 because 0-based and 2 for borders
+ TButton first = addButton("<<", 0, getHeight() - 3,
+ new TAction() {
+ public void DO() {
+ // TODO
+ }
+ }
+ );
+ addButton("<", 3, getHeight() - 3, null);
+ addButton(">", 5, getHeight() - 3, null);
+ addButton(">>", 7, getHeight() - 3, null);
+ // TODO: pad with space up to end of window
+ // TODO: do not show "0/x: " for desc, only for other chapters
+ addLabel(String.format(" %d/%d: %s", resume.getNumber(), getStory().getChapters().size(), resume.getName()), 11, getHeight() - 3);