From 294d4533489e9ed6b7e71c63a1faa9722a2621c6 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 10 Jun 2020 02:39:37 +0200 Subject: page/form refactor; implemented form layout, labels --- code/fe310/eos/eve/widget/page.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/fe310/eos/eve/widget/page.h') diff --git a/code/fe310/eos/eve/widget/page.h b/code/fe310/eos/eve/widget/page.h index d7f87f0..0b21c95 100644 --- a/code/fe310/eos/eve/widget/page.h +++ b/code/fe310/eos/eve/widget/page.h @@ -3,11 +3,11 @@ typedef struct EVEPageWidget { EVEWidget w; char *title; + EVEFont *font; EVEPage *page; uint8_t tag; - uint8_t font_id; } EVEPageWidget; -void eve_pagew_init(EVEPageWidget *widget, EVERect *g, uint8_t font_id, char *title, EVEPage *page); +void eve_pagew_init(EVEPageWidget *widget, EVERect *g, char *title, EVEFont *font, EVEPage *page); int eve_pagew_touch(EVEWidget *_widget, EVEPage *page, uint8_t tag0, int touch_idx, EVERect *focus); uint8_t eve_pagew_draw(EVEWidget *_widget, EVEPage *page, uint8_t tag0); -- cgit v1.2.3