version 1.863, 2019/03/14 09:50:09 |
version 1.864, 2019/03/14 09:53:52 |
|
|
struct grid_line *linedata; |
struct grid_line *linedata; |
}; |
}; |
|
|
|
/* Style option. */ |
|
struct style { |
|
struct grid_cell gc; |
|
}; |
|
|
/* Hook data structures. */ |
/* Hook data structures. */ |
struct hook { |
struct hook { |
const char *name; |
const char *name; |
|
|
|
|
struct input_ctx *ictx; |
struct input_ctx *ictx; |
|
|
struct grid_cell colgc; |
struct style style; |
|
|
int *palette; |
int *palette; |
|
|
int pipe_fd; |
int pipe_fd; |
|
|
|
|
struct options *options; |
struct options *options; |
|
|
struct grid_cell style; |
struct style style; |
struct grid_cell active_style; |
struct style active_style; |
|
|
u_int references; |
u_int references; |
TAILQ_HEAD(, winlink) winlinks; |
TAILQ_HEAD(, winlink) winlinks; |
|
|
int, int *); |
int, int *); |
const char *options_get_string(struct options *, const char *); |
const char *options_get_string(struct options *, const char *); |
long long options_get_number(struct options *, const char *); |
long long options_get_number(struct options *, const char *); |
const struct grid_cell *options_get_style(struct options *, const char *); |
struct style *options_get_style(struct options *, const char *); |
struct options_entry * printflike(4, 5) options_set_string(struct options *, |
struct options_entry * printflike(4, 5) options_set_string(struct options *, |
const char *, int, const char *, ...); |
const char *, int, const char *, ...); |
struct options_entry *options_set_number(struct options *, const char *, |
struct options_entry *options_set_number(struct options *, const char *, |
|
|
__dead void printflike(1, 2) fatalx(const char *, ...); |
__dead void printflike(1, 2) fatalx(const char *, ...); |
|
|
/* style.c */ |
/* style.c */ |
int style_parse(const struct grid_cell *, |
int style_parse(struct style *,const struct grid_cell *, |
struct grid_cell *, const char *); |
const char *); |
const char *style_tostring(struct grid_cell *); |
const char *style_tostring(struct style *); |
void style_apply(struct grid_cell *, struct options *, |
void style_apply(struct grid_cell *, struct options *, |
const char *); |
const char *); |
void style_apply_update(struct grid_cell *, struct options *, |
void style_apply_update(struct grid_cell *, struct options *, |
const char *); |
const char *); |
int style_equal(const struct grid_cell *, |
int style_equal(struct style *, struct style *); |
const struct grid_cell *); |
void style_set(struct style *, const struct grid_cell *); |
|
void style_copy(struct style *, struct style *); |
|
int style_is_default(struct style *); |
|
|
#endif /* TMUX_H */ |
#endif /* TMUX_H */ |