2nd Pass Render
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user