version 1.128, 2009/10/10 18:42:14 |
version 1.129, 2009/10/11 07:01:10 |
|
|
*/ |
*/ |
struct client; |
struct client; |
struct window; |
struct window; |
|
struct mouse_event; |
struct window_mode { |
struct window_mode { |
struct screen *(*init)(struct window_pane *); |
struct screen *(*init)(struct window_pane *); |
void (*free)(struct window_pane *); |
void (*free)(struct window_pane *); |
void (*resize)(struct window_pane *, u_int, u_int); |
void (*resize)(struct window_pane *, u_int, u_int); |
void (*key)(struct window_pane *, struct client *, int); |
void (*key)(struct window_pane *, struct client *, int); |
void (*mouse)(struct window_pane *, |
void (*mouse)(struct window_pane *, |
struct client *, u_char, u_char, u_char); |
struct client *, struct mouse_event *); |
void (*timer)(struct window_pane *); |
void (*timer)(struct window_pane *); |
}; |
}; |
|
|
|
|
u_int orlower; |
u_int orlower; |
}; |
}; |
|
|
|
/* Mouse input. */ |
|
struct mouse_event { |
|
u_char b; |
|
u_char x; |
|
u_char y; |
|
}; |
|
|
/* Client connection. */ |
/* Client connection. */ |
struct client { |
struct client { |
struct imsgbuf ibuf; |
struct imsgbuf ibuf; |
|
|
RB_PROTOTYPE(tty_keys, tty_key, entry, tty_keys_cmp); |
RB_PROTOTYPE(tty_keys, tty_key, entry, tty_keys_cmp); |
void tty_keys_init(struct tty *); |
void tty_keys_init(struct tty *); |
void tty_keys_free(struct tty *); |
void tty_keys_free(struct tty *); |
int tty_keys_next(struct tty *, int *, u_char *); |
int tty_keys_next(struct tty *, int *, struct mouse_event *); |
|
|
/* options-cmd.c */ |
/* options-cmd.c */ |
const char *set_option_print( |
const char *set_option_print( |
|
|
|
|
/* input-key.c */ |
/* input-key.c */ |
void input_key(struct window_pane *, int); |
void input_key(struct window_pane *, int); |
void input_mouse(struct window_pane *, u_char, u_char, u_char); |
void input_mouse(struct window_pane *, struct mouse_event *); |
|
|
/* colour.c */ |
/* colour.c */ |
void colour_set_fg(struct grid_cell *, int); |
void colour_set_fg(struct grid_cell *, int); |
|
|
void window_pane_parse(struct window_pane *); |
void window_pane_parse(struct window_pane *); |
void window_pane_key(struct window_pane *, struct client *, int); |
void window_pane_key(struct window_pane *, struct client *, int); |
void window_pane_mouse(struct window_pane *, |
void window_pane_mouse(struct window_pane *, |
struct client *, u_char, u_char, u_char); |
struct client *, struct mouse_event *); |
int window_pane_visible(struct window_pane *); |
int window_pane_visible(struct window_pane *); |
char *window_pane_search( |
char *window_pane_search( |
struct window_pane *, const char *, u_int *); |
struct window_pane *, const char *, u_int *); |