diff options
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; |