Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
deluge::hid::Display Class Referenceabstract
Inheritance diagram for deluge::hid::Display:

Public Member Functions

 Display (DisplayType displayType)
 
virtual constexpr size_t getNumBrowserAndMenuLines ()=0
 
virtual void setText (std::string_view newText, bool alignRight=false, uint8_t drawDot=255, bool doBlink=false, uint8_t *newBlinkMask=nullptr, bool blinkImmediately=false, bool shouldBlinkFast=false, int32_t scrollPos=0, uint8_t *blinkAddition=nullptr, bool justReplaceBottomLayer=false)
 
virtual void displayPopup (std::string_view newText, int8_t numFlashes=3, bool alignRight=false, uint8_t drawDot=255, int32_t blinkSpeed=1, PopupType type=PopupType::GENERAL)=0
 
virtual void displayPopup (uint8_t val, int8_t numFlashes=3, bool alignRight=false, uint8_t drawDot=255, int32_t blinkSpeed=1, PopupType type=PopupType::GENERAL)
 
virtual void popupText (std::string_view text, PopupType type=PopupType::GENERAL)=0
 
virtual void popupTextTemporary (std::string_view text, PopupType type=PopupType::GENERAL)=0
 
virtual void setNextTransitionDirection (int8_t thisDirection)
 
virtual void cancelPopup ()=0
 
virtual void freezeWithError (std::string_view text)=0
 
virtual bool isLayerCurrentlyOnTop (NumericLayer *layer)=0
 
virtual void displayError (Error error)=0
 
virtual void removeWorkingAnimation ()=0
 
virtual void displayLoadingAnimation ()
 
virtual void displayLoadingAnimationText (std::string_view text, bool delayed=false, bool transparent=false)=0
 
virtual void removeLoadingAnimation ()=0
 
virtual bool hasPopup ()=0
 
virtual bool hasPopupOfType (PopupType type)=0
 
virtual void consoleText (std::string_view text)=0
 
virtual void timerRoutine ()=0
 
virtual void setTextAsNumber (int16_t number, uint8_t drawDot=255, bool doBlink=false)
 
virtual int32_t getEncodedPosFromLeft (int32_t textPos, std::string_view text, bool *andAHalf)
 
virtual void setTextAsSlot (int16_t currentSlot, int8_t currentSubSlot, bool currentSlotExists, bool doBlink=false, int32_t blinkPos=-1, bool blinkImmediately=false)
 
virtual NumericLayerScrollingTextsetScrollingText (std::string_view newText, int32_t startAtPos=0, int32_t initialDelay=600, int count=-1, uint8_t fixedDot=255)
 
virtual std::array< uint8_t, kNumericDisplayLength > getLast ()
 
bool haveOLED ()
 
bool have7SEG ()
 

Private Attributes

DisplayType displayType
 

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