import be.nikiroo.fanfix.library.BasicLibrary;
import be.nikiroo.fanfix.output.BasicOutput.OutputType;
import be.nikiroo.fanfix.reader.Reader;
+import be.nikiroo.jexer.TSizeConstraint;
/**
* The library window, that will list all the (filtered) stories available in
import be.nikiroo.fanfix.data.Paragraph;
import be.nikiroo.fanfix.data.Paragraph.ParagraphType;
import be.nikiroo.fanfix.data.Story;
+import be.nikiroo.jexer.TSizeConstraint;
import be.nikiroo.jexer.TTable;
import be.nikiroo.utils.StringUtils;
-package be.nikiroo.fanfix.reader.tui;
+package be.nikiroo.jexer;
import java.util.List;
}
// coordinates < 0 = from the other side, x2 or y2 = 0 = max size
- static void setSize(List<TSizeConstraint> sizeConstraints, TWidget child,
+ static public void setSize(List<TSizeConstraint> sizeConstraints, TWidget child,
Integer x1, Integer y1, Integer x2, Integer y2) {
sizeConstraints.add(new TSizeConstraint(child, x1, y1, x2, y2));
}
- static void resize(List<TSizeConstraint> sizeConstraints) {
+ static public void resize(List<TSizeConstraint> sizeConstraints) {
for (TSizeConstraint sizeConstraint : sizeConstraints) {
TWidget widget = sizeConstraint.getWidget();
Integer x1 = sizeConstraint.getX1();