|
| LcdDDLayer (int8_t layerId) |
| for internal use only
|
|
void | print (const String &text) |
| print text, moving cursor
|
|
void | home () |
| move cursor to home
|
|
void | setCursor (int x, int y) |
|
void | cursor () |
| show cursor
|
|
void | noCursor () |
| hide cursor
|
|
void | autoscroll () |
| enable auto-scroll
|
|
void | noAutoscroll () |
| disable auto-scroll
|
|
void | display () |
|
void | noDisplay () |
|
void | scrollDisplayLeft () |
|
void | scrollDisplayRight () |
|
void | writeLine (const String &text, int y=0, const String &align="L") |
|
void | writeRightAlignedLine (const String &text, int y=0) |
| write text as a right-aligned line
|
|
void | writeCenteredLine (const String &text, int y=0) |
| write text as a line, with align "centered"
|
|
void | pixelColor (const String &color) |
|
void | bgPixelColor (const String &color) |
|
void | noBgPixelColor () |
| set no "background" (off) pixel color
|
|
void | border (float size, const String &color, const String &shape="flat", float extraSize=0) |
|
void | noBorder () |
|
void | padding (float size) |
|
void | padding (float left, float top, float right, float bottom) |
|
void | noPadding () |
|
void | margin (float size) |
|
void | margin (float left, float top, float right, float bottom) |
|
void | noMargin () |
|
void | backgroundColor (const String &color, int opacity=100) |
|
void | noBackgroundColor () |
|
void | visible (bool visible) |
|
void | transparent (bool transparent) |
|
void | disabled (bool disabled=true) |
|
void | opacity (int opacity) |
|
void | alpha (int alpha) |
|
void | blend (const String &color, int alpha=255, const String &mode="darken") |
|
void | noblend () |
|
void | clear () |
| clear the layer
|
|
void | flash () |
| normally used for "feedback" – flash the default way (layer + border)
|
|
void | flashArea (int x, int y) |
| normally used for "feedback" – flash the area (x, y) where the layer is clicked
|
|
void | explicitFeedback (int16_t x=0, int16_t y=0, const String &text="", DDFeedbackType type=CLICK, const String &option="") |
|
const String & | getLayerId () const |
|
void | setFeedbackHandler (DDFeedbackHandler handler, const String &autoFeedbackMethod="", const String &allowFeedbackTypes="") |
|
void | enableFeedback (const String &autoFeedbackMethod="", const String &allowFeedbackTypes="") |
|
void | disableFeedback () |
| disable "feedback"
|
|
const DDFeedback * | getFeedback () |
|
void | debugOnly (int i) |
| for debug use
|
|
DDFeedbackManager * | getFeedbackManager () const |
|
DDFeedbackHandler | getFeedbackHandler () const |
|
Class for LCD layer; created with DumbDisplay::createLcdLayer()
- Note
- with "feedback" enabled, can be used as a button
-
with "feedback" enabled, can be used as checkbox; consider using these emojis for checkbox – ☒☐✅❎🟩✔️ ☑️⬛✔✖