2nd Pass Render

This commit is contained in:
2026-08-05 16:21:17 -04:00
parent 2f96dd3da5
commit 67524206fb
23 changed files with 251 additions and 89 deletions
+13
View File
@@ -165,6 +165,19 @@ void drawFooter(LICE_IBitmap* bmp, int w, int h) {
drawButton(bmp, box, label.c_str(), state, /*warn=*/false);
}
// 2nd Pass Render BUTTON
if (!fb.secondPass.empty()) {
const TailSetting tail = currentTail();
const InteractionState state = tail.secondPass
? InteractionState::Active
: hoverState(g_panel.hovered, HoverKind::SecondPassButton, -1);
const std::string label = "2nd Pass";
const KitButtonBox box{
KitBox{fb.secondPass.x, fb.secondPass.y, fb.secondPass.width, fb.secondPass.height}
};
drawButton(bmp, box, label.c_str(), state, /*warn=*/false);
}
// Version/channel readout. appVersion() renders the configured version string on
// stable and that string plus "-beta" on beta, so a beta panel self-identifies.
kitText(bmp, KitBox{f.left, f.top, (f.right - f.left) - 8, f.bottom - f.top},