|
Public Types |
| enum | GuiId { PUSH_BUTTON = 1,
LABEL,
SPINBOX,
CHECKBOX
} |
Public Member Functions |
| | otMiniGUI () |
| bool | init (otGraphics *tft, U32 guiObjects) |
| U32 | addPushButton (U16 sx, U16 sy, const char *text, U16 textSize) |
| void | pushButtonSetToggle (U32 id, bool toggle) |
| void | pushButtonSetText (U32 id, const char *text) |
| bool | pushButtonIsOn (U32 id) |
| U32 | addLabel (U16 sx, U16 sy, const char *text, U16 textSize) |
| void | labelSetText (U32 id, const char *text) |
| U32 | addSpinBox (U16 sx, U16 sy, U16 nDigits, U16 textSize) |
| void | spinBoxSetMinimum (U32 id, S32 minv) |
| void | spinBoxSetMaximum (U32 id, S32 maxv) |
| void | spinBoxSetValue (U32 id, S32 v) |
| S32 | spinBoxValue (U32 id) |
| U32 | addCheckBox (U16 sx, U16 sy, const char *text, U16 textSize) |
| void | checkBoxSetChecked (U32 id, bool ena) |
| bool | checkBoxIsChecked (U32 id) |
| void | regen () |
| void | regen (U32 id, bool active=false) |
| U32 | selectNext (S32 id=-1) |
| void | activate (U32 id, U16 timeout=250) |
| S32 | selected () |
| U16 | objectType (U32 id) |