summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tk/widget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tk/widget.h b/src/tk/widget.h
index e1826d2..4232653 100644
--- a/src/tk/widget.h
+++ b/src/tk/widget.h
@@ -42,14 +42,14 @@ struct mftk_widget {
int vis;
void (*layout)(struct mftk_widget *);
void (*index)(struct mftk_widget *,
- struct mftk_window *);
+ struct mftk_window *);
void (*focus)(struct mftk_widget *);
void (*defocus)(struct mftk_widget *);
int (*key_event)(struct mftk_widget *, SDL_Event *);
int (*mouse_event)(struct mftk_widget *, SDL_Event *,
- int, int);
+ int, int);
int (*render)(struct mftk_widget *, SDL_Renderer *,
- int, int);
+ int, int);
void (*destroy)(struct mftk_widget *);
enum mftk_widget_role role;
struct mftk_widget *prev;