Blob


1 /*
2 * Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */
17 #ifndef DEFAULTS_H
18 #define DEFAULTS_H
20 extern char *new_tab_url;
22 extern int autosave;
23 extern int dont_wrap_pre;
24 extern int emojify_link;
25 extern int enable_colors;
26 extern int fill_column;
27 extern int hide_pre_blocks;
28 extern int hide_pre_closing_line;
29 extern int hide_pre_context;
30 extern int olivetti_mode;
31 extern int set_title;
32 extern int tab_bar_show;
34 struct lineprefix {
35 const char *prfx1;
36 const char *prfx2;
37 };
38 extern struct lineprefix line_prefixes[];
40 struct line_face {
41 int prfx_pair, pair, trail_pair;
42 int prfx_bg, bg, trail_bg;
43 int prfx_fg, fg, trail_fg;
44 int prfx_attr, attr, trail_attr;
46 int prefix, text, trail;
47 };
48 extern struct line_face line_faces[];
50 struct tab_face {
51 int bg_attr, bg_bg, bg_fg;
52 int t_attr, t_bg, t_fg;
53 int c_attr, c_bg, c_fg;
55 int background, tab, current;
56 };
57 extern struct tab_face tab_face;
59 struct body_face {
60 int lbg, lfg;
61 int bg, fg;
62 int rbg, rfg;
64 int left, body, right;
65 };
66 extern struct body_face body_face;
68 struct modeline_face {
69 int bg, fg, attr;
70 int background;
71 };
72 extern struct modeline_face modeline_face;
74 struct minibuffer_face {
75 int bg, fg, attr;
76 int background;
77 };
78 extern struct minibuffer_face minibuffer_face;
80 #endif