summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/widget/pagew.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-07-11 04:02:22 +0200
committerUros Majstorovic <majstor@majstor.org>2020-07-11 04:02:22 +0200
commit7dcaf1f395a5720bb5c3d02f09a214cb3440023e (patch)
tree4309156fcc05ff8077276b4226b89919e28ed3ec /code/fe310/eos/eve/widget/pagew.h
parent86aa553093084f9c2f04a5fb3d744b56b656ea3a (diff)
widget source renamed
Diffstat (limited to 'code/fe310/eos/eve/widget/pagew.h')
-rw-r--r--code/fe310/eos/eve/widget/pagew.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/code/fe310/eos/eve/widget/pagew.h b/code/fe310/eos/eve/widget/pagew.h
new file mode 100644
index 0000000..0b21c95
--- /dev/null
+++ b/code/fe310/eos/eve/widget/pagew.h
@@ -0,0 +1,13 @@
+#include <stdint.h>
+
+typedef struct EVEPageWidget {
+ EVEWidget w;
+ char *title;
+ EVEFont *font;
+ EVEPage *page;
+ uint8_t tag;
+} EVEPageWidget;
+
+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);