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

Public Member Functions

 RenameClipUI (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
 What type of UI is this? e.g. UIType::ARRANGER.
 
- 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 ()
 
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 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.
 

Public Attributes

Clipclip
 
- Public Attributes inherited from UI
bool oledShowsUIUnderneath
 

Protected Member Functions

bool trySetName (String *) override
 
String getName () const override
 
- Protected Member Functions inherited from RenameUI
void enterKeyPress () override
 
virtual bool canRename () const
 
virtual bool allowEmpty () 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 ()
 

Additional Inherited Members

- 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

◆ getName()

String RenameClipUI::getName ( ) const
overrideprotectedvirtual

Implements RenameUI.

◆ trySetName()

bool RenameClipUI::trySetName ( String * name)
overrideprotectedvirtual

Implements RenameUI.


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