From 0ebaa6f7c2ae1cb7e72d8b5ff4b34e3fe7c5ace8 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 11 Jul 2020 14:17:12 +0200 Subject: page focus interface changed; widget is responsible for setting focus --- code/fe310/eos/eve/widget/strw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/fe310/eos/eve/widget/strw.h') diff --git a/code/fe310/eos/eve/widget/strw.h b/code/fe310/eos/eve/widget/strw.h index 04a813e..1277c20 100644 --- a/code/fe310/eos/eve/widget/strw.h +++ b/code/fe310/eos/eve/widget/strw.h @@ -28,7 +28,7 @@ typedef struct EVEStrWidget { } EVEStrWidget; void eve_strw_init(EVEStrWidget *widget, EVERect *g, EVEFont *font, char *str, uint16_t str_size); -int eve_strw_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx, EVERect *focus); +int eve_strw_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx); uint8_t eve_strw_draw(EVEWidget *_widget, EVEPage *page, uint8_t tag0); void eve_strw_putc(void *_page, int c); void eve_strw_cursor_set(EVEStrWidget *widget, EVEStrCursor *cursor, int16_t x); -- cgit v1.2.3