summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/widget/pagew.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-07-11 14:17:12 +0200
committerUros Majstorovic <majstor@majstor.org>2020-07-11 14:17:12 +0200
commit0ebaa6f7c2ae1cb7e72d8b5ff4b34e3fe7c5ace8 (patch)
tree6a2d103796e183f9847c203a4891ec4bfb1d56dc /code/fe310/eos/eve/widget/pagew.c
parent725ed5b0353eaeb3301aa9690d6803a78e18dfb2 (diff)
page focus interface changed; widget is responsible for setting focus
Diffstat (limited to 'code/fe310/eos/eve/widget/pagew.c')
-rw-r--r--code/fe310/eos/eve/widget/pagew.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/code/fe310/eos/eve/widget/pagew.c b/code/fe310/eos/eve/widget/pagew.c
index 51393e0..8c3b515 100644
--- a/code/fe310/eos/eve/widget/pagew.c
+++ b/code/fe310/eos/eve/widget/pagew.c
@@ -25,7 +25,7 @@ void eve_pagew_init(EVEPageWidget *widget, EVERect *g, char *title, EVEFont *fon
if (_widget->g.h == 0) _widget->g.h = eve_font_h(font);
}
-int eve_pagew_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx, EVERect *focus) {
+int eve_pagew_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx) {
EVEPageWidget *widget = (EVEPageWidget *)_widget;
EVETouch *t;
uint16_t evt;
@@ -39,7 +39,6 @@ int eve_pagew_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_i
if (page && page->handle_evt) page->handle_evt(page, _widget, t, evt, tag0, touch_idx);
} else if (evt & EVE_TOUCH_ETYPE_TAG_UP) {
widget->page->open(widget->page, page);
- if (focus) *focus = _widget->g;
}
ret = 1;
}