34 using SelectedNote::SelectedNote;
36 [[nodiscard]] int32_t getMaxValue()
const override {
return FillMode::FILL; }
37 [[nodiscard]] int32_t getMinValue()
const override {
return FillMode::OFF; }
45 Note* leftMostNote = instrumentClipView.getLeftMostNotePressed();
48 this->setValue(leftMostNote->getFill());
53 instrumentClipView.adjustNoteFillWithOffset(offset);
55 if (currentSong->isFillModeActive()) {
56 uiNeedsRendering(&instrumentClipView);
61 deluge::hid::display::OLED::main.drawStringCentred(instrumentClipView.getFillString(this->getValue()),
62 18 + OLED_MAIN_TOPMOST_PIXEL, kTextHugeSpacingX,
66 void drawValue() final
override { display->setText(instrumentClipView.getFillString(this->getValue())); }
68 void writeCurrentValue()
override { ; }