summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/widget/pagew.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-08-26 02:07:48 +0200
committerUros Majstorovic <majstor@majstor.org>2020-08-26 02:07:48 +0200
commitd6a8caa7e27dd08180f6a5a45a080c2e4cfc1fe4 (patch)
tree52f8010eace6e3e7002f6396297109a15eb8e81b /fw/fe310/eos/eve/widget/pagew.c
parent48d934f5b422d87a59ffb38e6215a851f28c1b0e (diff)
kbdwin removed; stack and contructor moved to view
Diffstat (limited to 'fw/fe310/eos/eve/widget/pagew.c')
-rw-r--r--fw/fe310/eos/eve/widget/pagew.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/widget/pagew.c b/fw/fe310/eos/eve/widget/pagew.c
index b3e71a6..319e207 100644
--- a/fw/fe310/eos/eve/widget/pagew.c
+++ b/fw/fe310/eos/eve/widget/pagew.c
@@ -7,6 +7,7 @@
#include "screen/screen.h"
#include "screen/window.h"
+#include "screen/view.h"
#include "screen/page.h"
#include "font.h"
@@ -20,7 +21,7 @@ int eve_pagew_create(EVEPageWidget *widget, EVERect *g, EVEPageSpec *spec) {
return EVE_OK;
}
-void eve_pagew_init(EVEPageWidget *widget, EVERect *g, EVEFont *font, char *title, eve_page_constructor_t constructor) {
+void eve_pagew_init(EVEPageWidget *widget, EVERect *g, EVEFont *font, char *title, eve_view_constructor_t constructor) {
EVEWidget *_widget = &widget->w;
memset(widget, 0, sizeof(EVEPageWidget));
@@ -28,7 +29,7 @@ void eve_pagew_init(EVEPageWidget *widget, EVERect *g, EVEFont *font, char *titl
eve_pagew_update(widget, font, title, constructor);
}
-void eve_pagew_update(EVEPageWidget *widget, EVEFont *font, char *title, eve_page_constructor_t constructor) {
+void eve_pagew_update(EVEPageWidget *widget, EVEFont *font, char *title, eve_view_constructor_t constructor) {
EVEWidget *_widget = &widget->w;
if (font) widget->font = font;