23 using ArpUnpatchedParam::ArpUnpatchedParam;
25 [[nodiscard]] RenderingStyle getRenderingStyle()
const override {
return NUMBER; }
28 if (getValue() == 0) {
29 const auto off_string = l10n::get(l10n::String::STRING_FOR_OFF);
30 return OLED::main.drawStringCentered(off_string, slot.start_x, slot.start_y + kHorizontalMenuSlotYOffset,
31 kTextSpacingX, kTextSpacingY, slot.width);
33 ArpUnpatchedParam::renderInHorizontalMenu(slot);
37 if (
const auto value = getValue(); value == 0) {
38 valueBuf.append(l10n::get(l10n::String::STRING_FOR_OFF));
41 valueBuf.appendInt(value);