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

Public Member Functions

 RenameDrumUI (const char *title_)
 
- Public Member Functions inherited from RenameUI
 RenameUI (const char *title_)
 
bool opened ()
 
void displayText (bool blinkImmediately=false) override
 
void renderOLED (deluge::hid::display::oled_canvas::Canvas &canvas) override
 
bool getGreyoutColsAndRows (uint32_t *cols, uint32_t *rows) override
 
bool exitUI () override
 returns whether a UI exited
 
ActionResult buttonAction (deluge::hid::Button b, bool on, bool inCardRoutine) override
 
ActionResult padAction (int32_t x, int32_t y, int32_t velocity) override
 
ActionResult verticalEncoderAction (int32_t offset, bool inCardRoutine) override
 
UIType getUIType () override
 
- Public Member Functions inherited from QwertyUI
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 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 renderSidebar (uint32_t whichRows=0, RGB image[][kDisplayWidth+kSideBarWidth]=nullptr, uint8_t occupancyMask[][kDisplayWidth+kSideBarWidth]=nullptr)
 
void close ()
 

Protected Member Functions

bool trySetName (String *) override
 
String getName () const override
 
bool allowEmpty () const override
 
- Protected Member Functions inherited from RenameUI
void enterKeyPress () override
 
virtual bool canRename () const
 
- Protected Member Functions inherited from QwertyUI
virtual bool predictExtendedText ()
 
void drawKeys ()
 
virtual void processBackspace ()
 
void drawTextForOLEDEditing (int32_t textStartX, int32_t xPixelMax, int32_t yPixel, int32_t maxChars, deluge::hid::display::oled_canvas::Canvas &canvas)
 
void renderFavourites ()
 

Private Member Functions

SoundDrumgetDrum () const
 

Additional Inherited Members

- Public Attributes inherited from UI
bool oledShowsUIUnderneath
 
- Static Public Attributes inherited from QwertyUI
static bool predictionInterrupted
 
static String enteredText {}
 
- Protected Attributes inherited from QwertyUI
char const * title
 
- Protected Attributes inherited from UI
UIType uiType
 
- Static Protected Attributes inherited from QwertyUI
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
 

Member Function Documentation

◆ allowEmpty()

bool RenameDrumUI::allowEmpty ( ) const
inlineoverrideprotectedvirtual

Reimplemented from RenameUI.

◆ getName()

String RenameDrumUI::getName ( ) const
overrideprotectedvirtual

Implements RenameUI.

◆ trySetName()

bool RenameDrumUI::trySetName ( String * name)
overrideprotectedvirtual

Implements RenameUI.


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