diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-06 16:30:44 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-06 16:30:44 (EDT) |
commit | 94fde9dad4d2c9ef179289ef52d2a629d9d3977a (patch) | |
tree | 161a2a4487973066e86dd1380e2838ee40d7c14f /src/tk/radio.c | |
parent | bd2826284ce3a4ecde2493ad53a79473352e5933 (diff) | |
download | mazefight-94fde9dad4d2c9ef179289ef52d2a629d9d3977a.zip mazefight-94fde9dad4d2c9ef179289ef52d2a629d9d3977a.tar.gz mazefight-94fde9dad4d2c9ef179289ef52d2a629d9d3977a.tar.bz2 |
tk: Pass key events
Diffstat (limited to 'src/tk/radio.c')
-rw-r--r-- | src/tk/radio.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tk/radio.c b/src/tk/radio.c index 7e4719c..f20b902 100644 --- a/src/tk/radio.c +++ b/src/tk/radio.c @@ -71,6 +71,16 @@ _mftk_radio_layout(struct mftk_widget *w) } static int +_mftk_radio_key_event(struct mftk_widget *w, SDL_Event *e, int x, int y) +{ + struct mftk_radio *r = (struct mftk_radio *) w; + + /* TODO */ + + return 0; +} + +static int _mftk_radio_mouse_event(struct mftk_widget *w, SDL_Event *e, int x, int y) { struct mftk_radio *r = (struct mftk_radio *) w; |