master ohmu/acme2k / src / cmd / acme / config.h
ohmu  ·  2026-09-21
 1/*
 2 *  fontnames-array takes two fonts, first one
 3 *  it treats as a proportional-width font and uses
 4 *  everywhere possible and as a main UI font, while
 5 *  the second font it treats as a fixed-width font,
 6 *  changeable to any text window by executing `Font`
 7 *  from tag window.
 8 *
 9 *  Note: `Font` can also be executed
10 *  with arguments with any `fontsrv -p .` approved
11 *  fonts, thus allowing you to experiment with font
12 *  sizes and whether you want anti-aliasing or not.
13 */
14
15char *fontnames[2] = {
16	"/lib/font/bit/lucsans/euro.8.font",
17	"/lib/font/bit/lucm/unicode.9.font"
18};
19
20/*
21 *  globalautoindent tries to guess where to
22 *  indent by the context of the previous line.
23 *
24 *  comes highly suggested.
25 */
26
27int globalautoindent	= TRUE;
28
29/*
30 *  swapping scroll buttons makes B1 scroll down
31 *  instead of up and B2 up instead of down
32 */
33
34int	swapscrollbuttons	= FALSE;
35
36/*
37 *  bartflag triggers quote unquote experimental
38 *  mode, in which instead of mouse following focus
39 *  from window to window etc. it in fact, does not.
40 *
41 *  comes highly suggested.
42 */
43
44int bartflag			= TRUE;
45
46/*
47 *  colors-constants. now let me take a minute to explain
48 *  them. C_TAGBG/FG/HLBG/HLFG are respectively your tag
49 *  windows background, foreground, highlighted back- and
50 *  foreground color. The same exact applies to C_TXT*-
51 *  variants of the same constant just in this case it handles
52 *  the colorscheme of the text window.
53 *
54 *  C_WINBUTTON is the button which you adjust your columns
55 *  position with. C_COLBUTTON represents a separate text
56 *  windows button. C_TMPBUTTON is the so-called "dirty"
57 *  or "unclean" -marker aka notifying the file as modified put
58 *  in the middle of C_COLBUTTON. C_SCROLLBG is plain and simple
59 *  your scrollbars background color.
60 *
61 *  the last two defines are for defining the color of the specific
62 *  buttons highlight background.
63 */
64
65#define C_TAGBG			0xFFFFFFFF
66#define C_TAGFG			0x000000FF
67#define C_TAGHLBG		0x999999FF
68#define C_TAGHLFG		0x000000FF
69
70#define C_TXTBG			0xFFFFFFFF
71#define C_TXTFG			0x000000FF
72#define C_TXTHLBG		0x999999FF
73#define C_TXTHLFG		0x000000FF
74
75#define C_WINBUTTON		0x4d4d4dFF
76#define C_COLBUTTON		0x55aaaaFF
77#define C_TMPBUTTON		0x55aaaaFF
78#define C_SCROLLBG		0x999999FF
79
80#define C_BUTTON2HL		0x55aaaaFF
81#define C_BUTTON3HL		0x55aaaaFF