#include "tft.h"
#include "touch.h"
#include "button.h"
#include "numupdown.h"
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
Go to the source code of this file.
#define BASE_COLOR RGB(90,90,90) |
void button_down_cb |
( |
void * |
button | ) |
|
Definition at line 50 of file numupdown.c.
NUMUPDOWN_CALLBACK callback
Callback which is executed when the value changes.
int16_t min
The minimum possible value (inclusive)
void gui_numupdown_update(NUMUPDOWN_STRUCT *numupdown)
int16_t value
The current/default value.
void button_up_cb |
( |
void * |
button | ) |
|
Definition at line 34 of file numupdown.c.
NUMUPDOWN_CALLBACK callback
Callback which is executed when the value changes.
int16_t max
The maximum possible value (inclusive)
void gui_numupdown_update(NUMUPDOWN_STRUCT *numupdown)
int16_t value
The current/default value.
static uint8_t calc_text_width |
( |
int16_t |
val | ) |
|
|
static |