summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/widget/selectw.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-02-26 16:54:29 +0100
committerUros Majstorovic <majstor@majstor.org>2021-02-26 16:54:29 +0100
commit85a88a982f4688482da49d4d5d119ba659d4d870 (patch)
tree921ea2713d2719bbdd79ae99376110ed62f29203 /fw/fe310/eos/eve/widget/selectw.h
parentd14cec5a48d9d064481726af8b4d795c5f4ee039 (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.h4
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);