Deluge Firmware 1.3.0
Build date: 2025.06.05
Loading...
Searching...
No Matches
QwertyUI Class Referenceabstract
Inheritance diagram for QwertyUI:
Collaboration diagram for QwertyUI:

Public Member Functions

ActionResult padAction (int32_t x, int32_t y, int32_t velocity) override
 
ActionResult horizontalEncoderAction (int32_t offset) override
 
ActionResult timerCallback () override
 
bool renderMainPads (uint32_t whichRows, RGB image[][kDisplayWidth+kSideBarWidth]=nullptr, uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth]=nullptr, bool drawUndefinedArea=true) override
 
- Public Member Functions inherited from UI
virtual ActionResult buttonAction (deluge::hid::Button b, bool on, bool inCardRoutine)
 
virtual ActionResult verticalEncoderAction (int32_t offset, bool inCardRoutine)
 
virtual void selectEncoderAction (int8_t offset)
 
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 void graphicsRoutine ()
 
virtual void focusRegained ()
 
virtual void displayOrLanguageChanged ()
 
virtual bool canSeeViewUnderneath ()
 
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 ()
 
virtual void renderOLED (deluge::hid::display::oled_canvas::Canvas &canvas)=0
 
virtual UIgetUI ()
 When entering a UI (e.g. automationView), you may wish to open a different UI based on the current context (e.g. automationViewArranger, automationViewAudioClip, etc.)
 
virtual UIType getUIType ()=0
 What type of UI is this? e.g. UIType::ARRANGER.
 
virtual UIType getUIContextType ()
 What context does UI relate to? e.g. UIType could be AUTOMATION but UIContextType could be ARRANGER, AUDIO CLIP, INSTRUMENT CLIP.
 
virtual UIModControllableContext getUIModControllableContext ()
 What mod controllable context is this UI using? E.g. Automation View can use the Song ModControllable when in Arranger but the Clip ModControllable when in a Clip.
 

Static Public Attributes

static bool predictionInterrupted
 
static String enteredText {}
 

Protected Member Functions

bool opened () override
 
virtual bool predictExtendedText ()
 
void drawKeys ()
 
virtual void processBackspace ()
 
virtual void enterKeyPress ()=0
 
void drawTextForOLEDEditing (int32_t textStartX, int32_t xPixelMax, int32_t yPixel, int32_t maxChars, deluge::hid::display::oled_canvas::Canvas &canvas)
 
virtual void displayText (bool blinkImmediately=false)
 
void renderFavourites ()
 

Protected Attributes

char const * title
 
- Protected Attributes inherited from UI
UIType uiType
 

Static Protected Attributes

static uint8_t favouriteRow = 6
 
static constexpr uint8_t favouriteBankRow = 7
 
static int16_t enteredTextEditPos
 
static int32_t scrollPosHorizontal
 
static bool favouritesVisible = false
 
static bool banksVisible = false
 

Static Private Attributes

static uint8_t currentBank = 0
 
static std::optional< uint8_t > currentFavourite = std::nullopt
 
static FavouritesDefaultLayout favouritesLayoutSelected = FavouritesDefaultLayout::FavouritesDefaultLayoutFavorites
 

Additional Inherited Members

- Public Attributes inherited from UI
bool oledShowsUIUnderneath
 

Member Function Documentation

◆ horizontalEncoderAction()

ActionResult QwertyUI::horizontalEncoderAction ( int32_t offset)
overridevirtual

Reimplemented from UI.

◆ opened()

bool QwertyUI::opened ( )
overrideprotectedvirtual

Reimplemented from UI.

◆ padAction()

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

Reimplemented from UI.

◆ renderMainPads()

bool QwertyUI::renderMainPads ( uint32_t whichRows,
RGB image[][kDisplayWidth+kSideBarWidth] = nullptr,
uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth] = nullptr,
bool drawUndefinedArea = true )
inlineoverridevirtual

Reimplemented from UI.

◆ timerCallback()

ActionResult QwertyUI::timerCallback ( )
overridevirtual

Reimplemented from UI.


The documentation for this class was generated from the following files: