diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-02-26 16:54:29 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-02-26 16:54:29 +0100 |
commit | 85a88a982f4688482da49d4d5d119ba659d4d870 (patch) | |
tree | 921ea2713d2719bbdd79ae99376110ed62f29203 /fw/fe310/eos/eve/widget/selectw.h | |
parent | d14cec5a48d9d064481726af8b4d795c5f4ee039 (diff) |
selectw verifies add/set options; implemented multi select
Diffstat (limited to 'fw/fe310/eos/eve/widget/selectw.h')
-rw-r--r-- | fw/fe310/eos/eve/widget/selectw.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fw/fe310/eos/eve/widget/selectw.h b/fw/fe310/eos/eve/widget/selectw.h index 953ba4a..8a02c84 100644 --- a/fw/fe310/eos/eve/widget/selectw.h +++ b/fw/fe310/eos/eve/widget/selectw.h @@ -6,16 +6,18 @@ typedef struct EVESelectWidget { utf8_t *option; uint16_t option_size; uint32_t select; + uint8_t multi; } EVESelectWidget; typedef struct EVESelectSpec { EVEFont *font; uint16_t option_size; + uint8_t multi; } EVESelectSpec; int eve_selectw_create(EVESelectWidget *widget, EVERect *g, EVESelectSpec *spec); void eve_selectw_destroy(EVESelectWidget *widget); -void eve_selectw_init(EVESelectWidget *widget, EVERect *g, EVEFont *font, utf8_t *option, uint16_t option_size); +void eve_selectw_init(EVESelectWidget *widget, EVERect *g, EVEFont *font, utf8_t *option, uint16_t option_size, uint8_t multi); void eve_selectw_update(EVESelectWidget *widget, EVEFont *font, utf8_t *option, uint16_t option_size); int eve_selectw_touch(EVEWidget *_widget, EVEPage *page, EVETouch *t, uint16_t evt); |