diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-03-27 22:08:31 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-03-27 22:08:31 +0100 |
commit | daa87d92b3df433578e53284a8c88083e24f8623 (patch) | |
tree | bb061a88510935f7bb91139ae618caaf9b546c96 /fw/fe310/eos/eve/eve_text.c | |
parent | 72a82b58ba87fe9ecc2718bfcb2b5f0432ffaea9 (diff) |
form/app cleanup; scroll infrastructure
Diffstat (limited to 'fw/fe310/eos/eve/eve_text.c')
-rw-r--r-- | fw/fe310/eos/eve/eve_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/eve_text.c b/fw/fe310/eos/eve/eve_text.c index eecfa0a..b52678d 100644 --- a/fw/fe310/eos/eve/eve_text.c +++ b/fw/fe310/eos/eve/eve_text.c @@ -36,7 +36,7 @@ void eve_text_init(EVEText *box, EVERect *g, uint16_t w, uint16_t h, uint16_t li box->g = *g; box->w = w; box->h = h; - box->tag = EVE_TAG_NOTAG; + box->tag = EVE_NOTAG; box->transform_a = 256 / scale_x; box->transform_e = 256 / scale_y; box->ch_w = scale_x * 8; @@ -146,7 +146,7 @@ int eve_text_touch(EVEText *box, EVETouch *touch, uint16_t evt, uint8_t tag0) { uint8_t eve_text_draw(EVEText *box, uint8_t tag) { eve_cmd_dl(SAVE_CONTEXT()); box->tag = tag; - if (tag != EVE_TAG_NOTAG) { + if (tag != EVE_NOTAG) { eve_cmd_dl(TAG(tag)); eve_touch_set_opt(tag, EVE_TOUCH_OPT_TRACK | EVE_TOUCH_OPT_TRACK_EXT_Y); tag++; |