-
Notifications
You must be signed in to change notification settings - Fork 3
/
Variable.c
62 lines (42 loc) · 1.6 KB
/
Variable.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* @(#)highwire/Variable.c
*/
#include <stddef.h> /* for size_t */
#include "global.h"
const BOOL mem_TidyUp = FALSE; /* for debugging, to release memory *
* at program end */
/* ******** Variable Definitions ******************* */
WORD conn_timeout = 3; /* seconds for connection establishing */
WORD conn_retry = 1; /* number of tries when connection reset occured */
LONG hdr_tout_doc = 5000l; /* milliseconds to wait for a reply header */
LONG hdr_tout_gfx = 2000l; /* same as above but for graphics etc. */
/* To be in-program settings. Default for the user settings in highwire.cfg. */
WORD fonts[3][2][2] = {
{ {5031, 5032}, {5033, 5034} },
{ {5031, 5032}, {5033, 5034} },
{ { 1, 1}, { 1, 1} }
};
/* ok there are 3 font families and these have 2 different effects
What I know so far...
[font family][bold face][italic face]
font families
0 - normal font
1 - header font
2 - pre font
So you can have
header , bold, italic
header , bold, normal
header , normal, italic
...
*/
WORD font_size = 12; /* points for size=3 */
WORD font_minsize = 1; /* minimum size */
WORD link_colour = 12; /* G_LBLUE */
WORD highlighted_link_colour = 10; /* G_LRED */
WORD text_colour = 1; /* G_BLACK */
WORD background_colour = 0; /* G_WHITE, changed to G_LWHITE for > 2 colors */
WORD slider_bkg = 9; /* G_LBLACK */
WORD slider_col = 8; /* G_LWHITE */
WORD page_margin = 5;
BOOL force_frame_controls = FALSE;
/* Globals */
WORD aes_max_window_title_length = 79; /* default for original AES */