diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-06 16:15:17 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-06 16:25:27 (EDT) |
commit | bd2826284ce3a4ecde2493ad53a79473352e5933 (patch) | |
tree | 1caa9d97a7c5f297035f4b234b72999014b751d1 /src/tk/radio.c | |
parent | f6b656b1f211769b71ad1ddb1ae6c22f76ef7cdc (diff) | |
download | mazefight-bd2826284ce3a4ecde2493ad53a79473352e5933.zip mazefight-bd2826284ce3a4ecde2493ad53a79473352e5933.tar.gz mazefight-bd2826284ce3a4ecde2493ad53a79473352e5933.tar.bz2 |
tk: Rename mouse event method
Diffstat (limited to 'src/tk/radio.c')
-rw-r--r-- | src/tk/radio.c | 5 |
1 files changed, 3 insertions, 2 deletions
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: |