diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-02-26 16:17:51 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-02-26 16:17:51 +0100 |
commit | 004ef27ddc89069c39b8cff1cf47f44baa3ceed1 (patch) | |
tree | a880db21a0a448a0c3407049b9f93dd447f3280d /code/fe310/eos/eve/widget/screen.h | |
parent | 682c9588dc3d281cfdca22f0d6470c9f21e4ccad (diff) |
text widget added, NOT TESTED
Diffstat (limited to 'code/fe310/eos/eve/widget/screen.h')
-rw-r--r-- | code/fe310/eos/eve/widget/screen.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/code/fe310/eos/eve/widget/screen.h b/code/fe310/eos/eve/widget/screen.h new file mode 100644 index 0000000..d5b4534 --- /dev/null +++ b/code/fe310/eos/eve/widget/screen.h @@ -0,0 +1,18 @@ +#include <stdint.h> + +struct EVETouch; +struct EVEWidget; + +typedef struct EVERect { + uint16_t x1; + uint16_t y1; + uint16_t x2; + uint16_t y2; +} EVERect; + +typedef struct EVEScreen { + char ro; + EVERect *visible; + void (*handle_evt) (struct EVEScreen *, struct EVEWidget *, uint8_t, int, struct EVETouch *, uint16_t); + void (*move) (struct EVEScreen *, struct EVEWidget *, EVERect *); +} EVEScreen; |