version 1.1119, 2021/08/13 17:03:29 |
version 1.1120, 2021/08/13 18:54:54 |
|
|
struct format_tree; |
struct format_tree; |
struct input_ctx; |
struct input_ctx; |
struct job; |
struct job; |
|
struct menu_data; |
struct mode_tree_data; |
struct mode_tree_data; |
struct mouse_event; |
struct mouse_event; |
struct options; |
struct options; |
|
|
/* Client connection. */ |
/* Client connection. */ |
typedef int (*prompt_input_cb)(struct client *, void *, const char *, int); |
typedef int (*prompt_input_cb)(struct client *, void *, const char *, int); |
typedef void (*prompt_free_cb)(void *); |
typedef void (*prompt_free_cb)(void *); |
typedef int (*overlay_check_cb)(struct client *, u_int, u_int); |
typedef int (*overlay_check_cb)(struct client *, void *, u_int, u_int); |
typedef struct screen *(*overlay_mode_cb)(struct client *, u_int *, u_int *); |
typedef struct screen *(*overlay_mode_cb)(struct client *, void *, u_int *, |
typedef void (*overlay_draw_cb)(struct client *, struct screen_redraw_ctx *); |
u_int *); |
typedef int (*overlay_key_cb)(struct client *, struct key_event *); |
typedef void (*overlay_draw_cb)(struct client *, void *, |
typedef void (*overlay_free_cb)(struct client *); |
struct screen_redraw_ctx *); |
typedef void (*overlay_resize_cb)(struct client *); |
typedef int (*overlay_key_cb)(struct client *, void *, struct key_event *); |
|
typedef void (*overlay_free_cb)(struct client *, void *); |
|
typedef void (*overlay_resize_cb)(struct client *, void *); |
struct client { |
struct client { |
const char *name; |
const char *name; |
struct tmuxpeer *peer; |
struct tmuxpeer *peer; |
|
|
struct cmdq_item *, struct client *, |
struct cmdq_item *, struct client *, |
struct cmd_find_state *); |
struct cmd_find_state *); |
void menu_free(struct menu *); |
void menu_free(struct menu *); |
|
struct menu_data *menu_prepare(struct menu *, int, struct cmdq_item *, u_int, |
|
u_int, struct client *, struct cmd_find_state *, |
|
menu_choice_cb, void *); |
int menu_display(struct menu *, int, struct cmdq_item *, u_int, |
int menu_display(struct menu *, int, struct cmdq_item *, u_int, |
u_int, struct client *, struct cmd_find_state *, |
u_int, struct client *, struct cmd_find_state *, |
menu_choice_cb, void *); |
menu_choice_cb, void *); |
|
struct screen *menu_mode_cb(struct client *, void *, u_int *, u_int *); |
|
int menu_check_cb(struct client *, void *, u_int, u_int); |
|
void menu_draw_cb(struct client *, void *, |
|
struct screen_redraw_ctx *); |
|
void menu_free_cb(struct client *, void *); |
|
int menu_key_cb(struct client *, void *, struct key_event *); |
|
|
/* popup.c */ |
/* popup.c */ |
#define POPUP_CLOSEEXIT 0x1 |
#define POPUP_CLOSEEXIT 0x1 |