From bd2826284ce3a4ecde2493ad53a79473352e5933 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 06 Aug 2021 16:15:17 -0400 Subject: tk: Rename mouse event method --- (limited to 'src/tk/radio.c') diff --git a/src/tk/radio.c b/src/tk/radio.c index 2c75406..7e4719c 100644 --- a/src/tk/radio.c +++ b/src/tk/radio.c @@ -71,7 +71,7 @@ _mftk_radio_layout(struct mftk_widget *w) } static int -_mftk_radio_event(struct mftk_widget *w, SDL_Event *e, int x, int y) +_mftk_radio_mouse_event(struct mftk_widget *w, SDL_Event *e, int x, int y) { struct mftk_radio *r = (struct mftk_radio *) w; @@ -79,7 +79,8 @@ _mftk_radio_event(struct mftk_widget *w, SDL_Event *e, int x, int y) case SDL_MOUSEBUTTONUP: if (e->button.button == SDL_BUTTON_LEFT) { mftk_window_focus(w->window, w); - return mftk_widget_event(r->grid, e, x, y); + return mftk_widget_mouse_event(r->grid, e, + x, y); } break; default: -- cgit v0.9.1