diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-11-03 00:01:20 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-11-03 00:01:20 +0000 |
commit | e1606172dde26ed8a589d6c49196ea5fda7e3186 (patch) | |
tree | 7d7e091ebcc28fc7af6e079d2bca12e2fe715399 /tmux.h | |
parent | c9ec33d0d018daacce90faf96156bf69098c210b (diff) | |
parent | 43264dfbf410489b36343a29cc83798a54df67f8 (diff) | |
download | rtmux-e1606172dde26ed8a589d6c49196ea5fda7e3186.tar.gz rtmux-e1606172dde26ed8a589d6c49196ea5fda7e3186.tar.bz2 rtmux-e1606172dde26ed8a589d6c49196ea5fda7e3186.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -2229,17 +2229,20 @@ u_int layout_set_next(struct window *); u_int layout_set_previous(struct window *); /* mode-tree.c */ +typedef void (*mode_tree_build_cb)(void *, u_int, uint64_t *, const char *); +typedef void (*mode_tree_draw_cb)(void *, void *, struct screen_write_ctx *, + u_int, u_int); +typedef int (*mode_tree_search_cb)(void *, void *, const char *); +typedef void (*mode_tree_each_cb)(void *, void *, struct client *, key_code); u_int mode_tree_count_tagged(struct mode_tree_data *); void *mode_tree_get_current(struct mode_tree_data *); -void mode_tree_each_tagged(struct mode_tree_data *, void (*)(void *, void *, - struct client *, key_code), struct client *, key_code, int); +void mode_tree_each_tagged(struct mode_tree_data *, mode_tree_each_cb, + struct client *, key_code, int); void mode_tree_up(struct mode_tree_data *, int); void mode_tree_down(struct mode_tree_data *, int); struct mode_tree_data *mode_tree_start(struct window_pane *, struct args *, - void (*)(void *, u_int, uint64_t *, const char *), - struct screen *(*)(void *, void *, u_int, u_int), - int (*)(void *, void *, const char *), void *, const char **, - u_int, struct screen **); + mode_tree_build_cb, mode_tree_draw_cb, mode_tree_search_cb, + void *, const char **, u_int, struct screen **); void mode_tree_build(struct mode_tree_data *); void mode_tree_free(struct mode_tree_data *); void mode_tree_resize(struct mode_tree_data *, u_int, u_int); |