23 |
23 |
24 /* geometries, s{x,y,w,h} and bh are already initualized here */ |
24 /* geometries, s{x,y,w,h} and bh are already initualized here */ |
25 /* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */ |
25 /* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */ |
26 DEFGEOM(single, 0, 0, sw, 0, bh, sw, sh-bh, wx, wy, 0.55*sw, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh) |
26 DEFGEOM(single, 0, 0, sw, 0, bh, sw, sh-bh, wx, wy, 0.55*sw, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh) |
27 DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, ww-mw, sh, mx, my, mw, mh) |
27 DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, ww-mw, sh, mx, my, mw, mh) |
|
28 /* DEFGEOM(growmaster, bx, by, bw, wx, wy, ww, wh, mx, my, mw+20, mh, mx+mw, ty, tw-20, th, mox, moy, mow, moh) */ |
|
29 /* DEFGEOM(shrinkmaster, bx, by, bw, wx, wy, ww, wh, mx, my, mw-20, mh, mx+mw, ty, tw+20, th, mox, moy, mow, moh) */ |
28 |
30 |
29 Geom geoms[] = { |
31 Geom geoms[] = { |
30 /* symbol function */ |
32 /* symbol function */ |
31 { "<>", single }, /* first entry is default */ |
33 { "<>", single }, /* first entry is default */ |
32 { ")(", dual }, |
34 { ")(", dual }, |
|
35 /* { "+|", growmaster },*/ |
|
36 /* { "|-", shrinkmaster },*/ |
33 }; |
37 }; |
34 |
38 |
35 /* layout(s) */ |
39 /* layout(s) */ |
36 #define RESIZEHINTS True /* False - respect size hints in tiled resizals */ |
40 #define RESIZEHINTS True /* False - respect size hints in tiled resizals */ |
37 #define SNAP 32 /* snap pixel */ |
41 #define SNAP 32 /* snap pixel */ |