Deluge Firmware 1.3.0
Build date: 2026.03.02
Loading...
Searching...
No Matches
Slicer Class Referencefinal
Inheritance diagram for Slicer:
Collaboration diagram for Slicer:

Public Member Functions

void focusRegained () override
bool canSeeViewUnderneath () override
void selectEncoderAction (int8_t offset) override
ActionResult buttonAction (deluge::hid::Button b, bool on, bool inCardRoutine) override
ActionResult padAction (int32_t x, int32_t y, int32_t velocity) override
bool renderMainPads (uint32_t whichRows, RGB image[][kDisplayWidth+kSideBarWidth], uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth], bool drawUndefinedArea) override
void graphicsRoutine () override
ActionResult horizontalEncoderAction (int32_t offset) override
ActionResult verticalEncoderAction (int32_t offset, bool inCardRoutine) override
void stopAnyPreviewing ()
void preview (int64_t startPoint, int64_t endPoint, int32_t transpose, int32_t on)
void renderOLED (deluge::hid::display::oled_canvas::Canvas &canvas) override
UIType getUIType () override
Public Member Functions inherited from UI
virtual void modEncoderAction (int32_t whichModEncoder, int32_t offset)
virtual void modButtonAction (uint8_t whichButton, bool on)
virtual void modEncoderButtonAction (uint8_t whichModEncoder, bool on)
virtual ActionResult timerCallback ()
virtual bool opened ()
virtual void displayOrLanguageChanged ()
virtual ClipMindertoClipMinder ()
virtual TimelineViewtoTimelineView ()
 Convert this view to a TimelineView.
virtual void scrollFinished ()
virtual bool pcReceivedForMidiLearn (MIDICable &fromCable, int32_t channel, int32_t program)
virtual bool noteOnReceivedForMidiLearn (MIDICable &fromCable, int32_t channel, int32_t note, int32_t velocity)
virtual bool getGreyoutColsAndRows (uint32_t *cols, uint32_t *rows)
virtual bool renderSidebar (uint32_t whichRows=0, RGB image[][kDisplayWidth+kSideBarWidth]=nullptr, uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth]=nullptr)
virtual bool exitUI ()
 returns whether a UI exited
void close ()

Public Attributes

int32_t numManualSlice
int32_t currentSlice
int32_t slicerMode
SliceItem manualSlicePoints [MAX_MANUAL_SLICES]
int16_t numClips
Public Attributes inherited from UI
bool oledShowsUIUnderneath

Private Member Functions

void redraw ()
void doSlice ()

Additional Inherited Members

Protected Attributes inherited from UI
UIType uiType

Member Function Documentation

◆ buttonAction()

ActionResult Slicer::buttonAction ( deluge::hid::Button b,
bool on,
bool inCardRoutine )
overridevirtual

Reimplemented from UI.

◆ canSeeViewUnderneath()

bool Slicer::canSeeViewUnderneath ( )
inlineoverridevirtual

Reimplemented from UI.

◆ focusRegained()

void Slicer::focusRegained ( )
overridevirtual

Reimplemented from UI.

◆ getUIType()

UIType Slicer::getUIType ( )
inlineoverridevirtual

Implements UI.

◆ graphicsRoutine()

void Slicer::graphicsRoutine ( )
overridevirtual

Reimplemented from UI.

◆ horizontalEncoderAction()

ActionResult Slicer::horizontalEncoderAction ( int32_t offset)
overridevirtual

Reimplemented from UI.

◆ padAction()

ActionResult Slicer::padAction ( int32_t x,
int32_t y,
int32_t velocity )
overridevirtual

Reimplemented from UI.

◆ renderMainPads()

bool Slicer::renderMainPads ( uint32_t whichRows,
RGB image[][kDisplayWidth+kSideBarWidth],
uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth],
bool drawUndefinedArea )
overridevirtual

Reimplemented from UI.

◆ renderOLED()

void Slicer::renderOLED ( deluge::hid::display::oled_canvas::Canvas & canvas)
overridevirtual

Implements UI.

◆ selectEncoderAction()

void Slicer::selectEncoderAction ( int8_t offset)
overridevirtual

Reimplemented from UI.

◆ verticalEncoderAction()

ActionResult Slicer::verticalEncoderAction ( int32_t offset,
bool inCardRoutine )
overridevirtual

Reimplemented from UI.


The documentation for this class was generated from the following files:
  • src/deluge/gui/ui/slicer.h
  • src/deluge/gui/ui/slicer.cpp