FC18: Shift BYD and added LUA P7D slice to fill with candy

This commit is contained in:
Willem Cazander 2025-09-01 14:26:46 +02:00
parent f93d447ba3
commit 379aef296d
11 changed files with 239 additions and 132 deletions

View file

@ -30,9 +30,10 @@ import org.x4o.fc18.cake2.FourCornerDotCake;
import org.x4o.fc18.cake2.zero33.FCDotLUA0127DashP7A;
import org.x4o.fc18.cake2.zero33.FCDotLUA0127DashP7B;
import org.x4o.fc18.cake2.zero33.FCDotLUA0127DashP7C;
import org.x4o.fc18.cake2.zero33.FCDotBYD0127DashP7D;
import org.x4o.fc18.cake2.zero33.FCDotLUA0127DashP7D;
import org.x4o.fc18.cake2.zero33.FCDotBYD0127DashP7E;
import org.x4o.fc18.cake2.zero33.FCDotBYD0127DashP7F;
import org.x4o.fc18.cake2.zero33.FCDotBYD0127DashP7G;
import org.x4o.maisdoc.flake.MaisDocContentCss;
import org.x4o.maisdoc.flake.MaisDocContentWriter;
import org.x4o.maisdoc.model.MaisDocPage;
@ -74,15 +75,16 @@ public class FCDocPageWriterCandy implements MaisDocPageWriter, FCDocSegmentWrit
writeP7x(writer, FourCornerDotCake.FC_LUA0127_P7A, v -> FCDotLUA0127DashP7A.valueOf(v).codePointDotIndex());
writeP7x(writer, FourCornerDotCake.FC_LUA0127_P7B, v -> FCDotLUA0127DashP7B.valueOf(v).codePointDotIndex());
writeP7x(writer, FourCornerDotCake.FC_LUA0127_P7C, v -> FCDotLUA0127DashP7C.valueOf(v).codePointDotIndex());
writeP7x(writer, FourCornerDotCake.FC_LUA0127_P7D, v -> FCDotLUA0127DashP7D.valueOf(v).codePointDotIndex());
}
}
try (ContentCloseable content = writer.docPageContent()) {
String xSpec = FourCornerDotCake.FC_BYD0127_P7D.nameSpec().replaceAll("P7D", "P7x");
String xSpec = FourCornerDotCake.FC_BYD0127_P7E.nameSpec().replaceAll("P7E", "P7x");
try (ContentCloseable table = writer.docTable(xSpec, null, MaisDocContentCss.overviewSummary)) {
writeTableBoxHeaderNumeric(writer, 28, true);
writeP7x(writer, FourCornerDotCake.FC_BYD0127_P7D, v -> FCDotBYD0127DashP7D.valueOf(v).codePointDotIndex());
writeP7x(writer, FourCornerDotCake.FC_BYD0127_P7E, v -> FCDotBYD0127DashP7E.valueOf(v).codePointDotIndex());
writeP7x(writer, FourCornerDotCake.FC_BYD0127_P7F, v -> FCDotBYD0127DashP7F.valueOf(v).codePointDotIndex());
writeP7x(writer, FourCornerDotCake.FC_BYD0127_P7G, v -> FCDotBYD0127DashP7G.valueOf(v).codePointDotIndex());
}
}
try (ContentCloseable content = writer.docPageContent()) {