version 1.690, 2017/01/11 16:09:57 |
version 1.691, 2017/01/12 00:19:32 |
|
|
TAILQ_HEAD(window_panes, window_pane); |
TAILQ_HEAD(window_panes, window_pane); |
RB_HEAD(window_pane_tree, window_pane); |
RB_HEAD(window_pane_tree, window_pane); |
|
|
#define WINDOW_PANE_PALETTE_HAS(wp, c) \ |
|
((wp) != NULL && (wp)->palette != NULL && \ |
|
((c) < 0x100 || (c) & COLOUR_FLAG_256) && \ |
|
(wp)->palette[(c) & 0xff] != 0) |
|
|
|
/* Window structure. */ |
/* Window structure. */ |
struct window { |
struct window { |
u_int id; |
u_int id; |
|
|
void window_remove_ref(struct window *); |
void window_remove_ref(struct window *); |
void winlink_clear_flags(struct winlink *); |
void winlink_clear_flags(struct winlink *); |
int winlink_shuffle_up(struct session *, struct winlink *); |
int winlink_shuffle_up(struct session *, struct winlink *); |
|
int window_pane_get_palette(const struct window_pane *, int); |
|
|
/* layout.c */ |
/* layout.c */ |
u_int layout_count_cells(struct layout_cell *); |
u_int layout_count_cells(struct layout_cell *); |