32class Slicer final :
public UI {
34 Slicer() { oledShowsUIUnderneath =
true; }
36 void focusRegained()
override;
37 bool canSeeViewUnderneath()
override {
return false; }
38 void selectEncoderAction(int8_t offset)
override;
39 ActionResult buttonAction(deluge::hid::Button b,
bool on,
bool inCardRoutine)
override;
40 ActionResult padAction(int32_t x, int32_t y, int32_t velocity)
override;
42 bool renderMainPads(uint32_t whichRows,
RGB image[][kDisplayWidth + kSideBarWidth],
43 uint8_t occupancyMask[][kDisplayWidth + kSideBarWidth],
bool drawUndefinedArea)
override;
44 void graphicsRoutine()
override;
45 ActionResult horizontalEncoderAction(int32_t offset)
override;
46 ActionResult verticalEncoderAction(int32_t offset,
bool inCardRoutine)
override;
48 void stopAnyPreviewing();
49 void preview(int64_t startPoint, int64_t endPoint, int32_t transpose, int32_t on);
51 int32_t numManualSlice;
54 SliceItem manualSlicePoints[MAX_MANUAL_SLICES];
61 UIType getUIType()
override {
return UIType::SLICER; }