summaryrefslogtreecommitdiffstats
path: root/src/tk/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tk/button.c')
-rw-r--r--src/tk/button.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tk/button.c b/src/tk/button.c
index 5638fb0..4b25d17 100644
--- a/src/tk/button.c
+++ b/src/tk/button.c
@@ -42,6 +42,16 @@ _mftk_button_layout(struct mftk_widget *w)
}
static int
+_mftk_button_key_event(struct mftk_widget *w, SDL_Event *e)
+{
+ struct mftk_button *b = (struct mftk_button *) w;
+
+ /* TODO */
+
+ return 0;
+}
+
+static int
_mftk_button_mouse_event(struct mftk_widget *w, SDL_Event *e,
int x __attribute__((__unused__)),
int y __attribute__((__unused__)))