changeset 1126 | 395dc8e943ea |
parent 1125 | e5ac5db22c91 |
child 1129 | 43d862bda73e |
1125:e5ac5db22c91 | 1126:395dc8e943ea |
---|---|
8 #define NORMFGCOLOR "#000000" |
8 #define NORMFGCOLOR "#000000" |
9 #define SELBORDERCOLOR "#0066ff" |
9 #define SELBORDERCOLOR "#0066ff" |
10 #define SELBGCOLOR "#0066ff" |
10 #define SELBGCOLOR "#0066ff" |
11 #define SELFGCOLOR "#ffffff" |
11 #define SELFGCOLOR "#ffffff" |
12 |
12 |
13 #if ANSELM_OFFICE |
|
14 |
|
15 /* bar position */ |
|
16 #define BX 0 |
|
17 #define BY 0 |
|
18 #define BW 1280 |
|
19 |
|
20 /* master area */ |
|
21 #define MX 0 |
|
22 #define MY bh |
|
23 #define MW 1280 |
|
24 #define MH 800 - bh |
|
25 |
|
26 /* tile area, might be on a different screen */ |
|
27 #define TX 1280 |
|
28 #define TY 0 |
|
29 #define TW 1680 |
|
30 #define TH 1050 |
|
31 |
|
32 /* monocle area, might be restricted to a specific screen */ |
|
33 #define MOX MX |
|
34 #define MOY MY |
|
35 #define MOW MW |
|
36 #define MOH MH |
|
37 |
|
38 #else |
|
39 |
|
40 /* bar position */ |
13 /* bar position */ |
41 #define BX sx |
14 #define BX sx |
42 #define BY sy |
15 #define BY sy |
43 #define BW sw |
16 #define BW MW |
17 |
|
18 /* window area */ |
|
19 #define WX 0 |
|
20 #define WY bh |
|
21 #define WW sw |
|
22 #define WH sh |
|
44 |
23 |
45 /* master area */ |
24 /* master area */ |
46 #define MX sx |
25 #define MX sx |
47 #define MY sy + bh |
26 #define MY sy + bh |
48 #define MW ((int)(((float)sw) * 0.6)) |
27 #define MW ((int)(((float)sw) * 0.6)) |
49 #define MH sh - bh |
28 #define MH sh - bh |
50 |
29 |
51 /* tile area, might be on a different screen */ |
30 /* tile area, might be on a different screen */ |
52 #define TX sx + MW |
31 #define TX sx + MW |
53 #define TY MY |
32 #define TY sy |
54 #define TW sw - MW |
33 #define TW sw - MW |
55 #define TH MH |
34 #define TH sh |
56 |
35 |
57 /* monocle area, might be restricted to a specific screen */ |
36 /* monocle area, might be restricted to a specific screen */ |
58 #define MOX sx |
37 #define MOX sx |
59 #define MOY MY |
38 #define MOY MY |
60 #define MOW sw |
39 #define MOW sw |
61 #define MOH MH |
40 #define MOH MH |
62 |
|
63 #endif |
|
64 |
41 |
65 /* tagging */ |
42 /* tagging */ |
66 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
43 const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; |
67 |
44 |
68 Rule rules[] = { |
45 Rule rules[] = { |