The NummericUpDown Gui Element
| typedef void(* NUMUPDOWN_CALLBACK) (void *numupdown, int16_t value) |
Prototype for Event Listeners (called when the NummericUpDown value has changed)
- Note
- You should NOT execute long running things in this callback nor should you update the gui. But you can call gui_screen_navigate() for instance.
- Parameters
-
| numupdown | The pointer to the NUMUPDOWN_STRUCT where to corresponding NummericUpDown has changed it's value |
| value | The new value of the NummericUpDown |
Adds a NummericUpDown. Your Callback will be called from now on, if the numupdown's value changes
- Parameters
-
- Returns
- true on success
Redraws the NummericUpDown. Call this method if you have to redraw the entire screen or if you want to draw a numupdown on top of an image.
- Parameters
-
Removes the NummericUpDown. You will no longer receive events for this numupdown. This function will not overdraw the region where the numupdown was located.
- Parameters
-
Updates the NummericUpDown. Call this function when you change the value/min/max of the numupdown through code.
- Parameters
-