summaryrefslogtreecommitdiffstats
path: root/src/tk
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-01-27 00:04:18 (EST)
committer P. J. McDermott <pj@pehjota.net>2022-01-27 00:47:34 (EST)
commitdeb999961a9018403c439f464f26a582996e1b19 (patch)
tree3973a653c3ad1e47dda09148502e3fffa9fa8089 /src/tk
parent487943bbe851366122271fcf6f8df364ab2a686d (diff)
downloadmazefight-deb999961a9018403c439f464f26a582996e1b19.zip
mazefight-deb999961a9018403c439f464f26a582996e1b19.tar.gz
mazefight-deb999961a9018403c439f464f26a582996e1b19.tar.bz2
tk: Improve declaration alignment
Diffstat (limited to 'src/tk')
-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;