version 1.913, 2019/06/20 07:41:29 |
version 1.914, 2019/06/20 11:59:59 |
|
|
u_int active_point; |
u_int active_point; |
|
|
struct window *window; |
struct window *window; |
|
struct options *options; |
|
|
struct layout_cell *layout_cell; |
struct layout_cell *layout_cell; |
struct layout_cell *saved_layout_cell; |
struct layout_cell *saved_layout_cell; |
|
|
#define PANE_STATUSREADY 0x200 |
#define PANE_STATUSREADY 0x200 |
#define PANE_STATUSDRAWN 0x400 |
#define PANE_STATUSDRAWN 0x400 |
#define PANE_EMPTY 0x800 |
#define PANE_EMPTY 0x800 |
|
#define PANE_STYLECHANGED 0x1000 |
|
|
int argc; |
int argc; |
char **argv; |
char **argv; |
|
|
|
|
struct input_ctx *ictx; |
struct input_ctx *ictx; |
|
|
struct style style; |
struct style cached_style; |
|
struct style cached_active_style; |
int *palette; |
int *palette; |
|
|
int pipe_fd; |
int pipe_fd; |
|
|
#define WINDOW_ACTIVITY 0x2 |
#define WINDOW_ACTIVITY 0x2 |
#define WINDOW_SILENCE 0x4 |
#define WINDOW_SILENCE 0x4 |
#define WINDOW_ZOOMED 0x8 |
#define WINDOW_ZOOMED 0x8 |
#define WINDOW_STYLECHANGED 0x10 |
|
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) |
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) |
|
|
int alerts_queued; |
int alerts_queued; |
|
|
|
|
struct options *options; |
struct options *options; |
|
|
struct style style; |
|
struct style active_style; |
|
|
|
u_int references; |
u_int references; |
TAILQ_HEAD(, winlink) winlinks; |
TAILQ_HEAD(, winlink) winlinks; |
|
|
|
|
OPTIONS_TABLE_COMMAND |
OPTIONS_TABLE_COMMAND |
}; |
}; |
|
|
enum options_table_scope { |
#define OPTIONS_TABLE_NONE 0 |
OPTIONS_TABLE_NONE, |
#define OPTIONS_TABLE_SERVER 0x1 |
OPTIONS_TABLE_SERVER, |
#define OPTIONS_TABLE_SESSION 0x2 |
OPTIONS_TABLE_SESSION, |
#define OPTIONS_TABLE_WINDOW 0x4 |
OPTIONS_TABLE_WINDOW |
#define OPTIONS_TABLE_PANE 0x8 |
}; |
|
|
|
#define OPTIONS_TABLE_IS_ARRAY 0x1 |
#define OPTIONS_TABLE_IS_ARRAY 0x1 |
#define OPTIONS_TABLE_IS_HOOK 0x2 |
#define OPTIONS_TABLE_IS_HOOK 0x2 |
|
|
struct options_table_entry { |
struct options_table_entry { |
const char *name; |
const char *name; |
enum options_table_type type; |
enum options_table_type type; |
enum options_table_scope scope; |
int scope; |
int flags; |
int flags; |
|
|
u_int minimum; |
u_int minimum; |
|
|
/* options.c */ |
/* options.c */ |
struct options *options_create(struct options *); |
struct options *options_create(struct options *); |
void options_free(struct options *); |
void options_free(struct options *); |
|
void options_set_parent(struct options *, struct options *); |
struct options_entry *options_first(struct options *); |
struct options_entry *options_first(struct options *); |
struct options_entry *options_next(struct options_entry *); |
struct options_entry *options_next(struct options_entry *); |
struct options_entry *options_empty(struct options *, |
struct options_entry *options_empty(struct options *, |
|
|
long long); |
long long); |
struct options_entry *options_set_style(struct options *, const char *, int, |
struct options_entry *options_set_style(struct options *, const char *, int, |
const char *); |
const char *); |
enum options_table_scope options_scope_from_name(struct args *, int, |
int options_scope_from_name(struct args *, int, |
const char *, struct cmd_find_state *, struct options **, |
const char *, struct cmd_find_state *, struct options **, |
char **); |
char **); |
enum options_table_scope options_scope_from_flags(struct args *, int, |
int options_scope_from_flags(struct args *, int, |
struct cmd_find_state *, struct options **, char **); |
struct cmd_find_state *, struct options **, char **); |
|
|
/* options-table.c */ |
/* options-table.c */ |