From d8ced7b070beaa010f557c4c244c5c386d4e6efd Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 3 Jul 2020 02:02:27 +0200 Subject: str widget draw selection and cursor implemented --- code/fe310/eos/eve/screen/page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/fe310/eos/eve/screen/page.c') diff --git a/code/fe310/eos/eve/screen/page.c b/code/fe310/eos/eve/screen/page.c index d96a2ba..b1b3985 100644 --- a/code/fe310/eos/eve/screen/page.c +++ b/code/fe310/eos/eve/screen/page.c @@ -32,11 +32,11 @@ int16_t eve_page_y(EVEPage *page, int16_t y) { return y + page->win_y - page->window->g.y; } -int16_t eve_page_scrx(EVEPage *page, int16_t x) { +int16_t eve_page_scr_x(EVEPage *page, int16_t x) { return x - page->win_x + page->window->g.x; } -int16_t eve_page_scry(EVEPage *page, int16_t y) { +int16_t eve_page_scr_y(EVEPage *page, int16_t y) { return y - page->win_y + page->window->g.y; } -- cgit v1.2.3