| 
| 
  | StringRocker (uint32_t string_id, uint32_t start, uint32_t end, toString string_function, Dimension d) | 
|   | 
| 
void  | next () | 
|   | 
| 
void  | previous () | 
|   | 
| 
void  | activate (const InputEvent &ev, void *data) | 
|   | Interface for activating widget. Calls callback function if specified. 
  | 
|   | 
| 
void  | deactivate (const InputEvent &ev, void *data) | 
|   | Interface for deactivating widget. Calls callback function if specified. 
  | 
|   | 
| 
const char *  | getValue () | 
|   | 
| 
uint32_t  | getId () const | 
|   | 
| bool  | checkIntersection (Widget *w) | 
|   | 
| void  | draw (View *view) | 
|   | 
| 
ColorPalette &  | getColorPalette () | 
|   | Get widget-specific color palette. NOT YET USED. 
  | 
|   | 
| 
modm::gui::Dimension  | getDimension () | 
|   | Get dimension of widget. 
  | 
|   | 
| 
int16_t  | getHeight () | 
|   | Get height of widget. Shortcut for getDimension().height. 
  | 
|   | 
| 
modm::glcd::Point  | getPosition () | 
|   | Get absolute position of widget on screen. 
  | 
|   | 
| 
modm::glcd::Point  | getRelativePosition () | 
|   | Get position of widget relative to its parent. 
  | 
|   | 
| 
int16_t  | getWidth () | 
|   | Get width of widget. Shortcut for getDimension().width. 
  | 
|   | 
| bool  | handleInputEvent (const InputEvent *ev) | 
|   | 
| 
bool  | hasIntersections () | 
|   | Whether there are other widgets overlapping this one on top 
  | 
|   | 
| 
bool  | isDirty () | 
|   | Whether widget needs to be redrawn or not. 
  | 
|   | 
| 
bool  | isInteractive () | 
|   | Whether widget can handle input events. 
  | 
|   | 
| 
void  | markDirty () | 
|   | Mark widget, that it needs to be redrawn. 
  | 
|   | 
| 
void  | markDrawn () | 
|   | Mark widget, that it doesn't need to be redrawn anymore. 
  | 
|   | 
| 
bool  | pack (Widget *w, const modm::glcd::Point &coord) | 
|   | packs widgets inside WidgetGroup (relative coordinates!) 
  | 
|   | 
| 
void  | render (View *view) | 
|   | Draws the widget on screen. Each widget need to implement this. 
  | 
|   | 
| 
void  | setCallbackData (void *data) | 
|   | 
| 
void  | setColor (modm::gui::Color name, modm::color::Rgb565 color) | 
|   | 
| 
void  | setColorPalette (ColorPalette &cb) | 
|   | Set widget-specific color palette. 
  | 
|   | 
| 
virtual void  | setFont (const uint8_t *newFont) | 
|   | Set widget-specific font. Use modm::font::FontName as argument. 
  | 
|   | 
| 
virtual void  | setFont (const modm::accessor::Flash< uint8_t > *font) | 
|   | Set widget-specific font. Use pointer to Flash as argument. 
  | 
|   | 
| 
void  | setParent (Widget *parent) | 
|   | Set parent for widget, updates the absolute position afterwards. 
  | 
|   | 
| void  | setPosition (const modm::glcd::Point &pos) | 
|   | 
| 
void  | setRelativePosition (const modm::glcd::Point &pos) | 
|   | Only set the relative position. 
  | 
|   | 
| void  | updateIntersections (WidgetContainer *widgets) | 
|   | 
| void  | updatePosition () | 
|   |