comparison draw.c @ 516:e5f8d6ac509c

added symbols for different modes
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 18:08:20 +0200
parents 3a812750f983
children 6cad48068e4c
comparison
equal deleted inserted replaced
515:d6d1d0033e3c 516:e5f8d6ac509c
102 drawtext(tags[i], dc.norm, sel && sel->tags[i]); 102 drawtext(tags[i], dc.norm, sel && sel->tags[i]);
103 dc.x += dc.w; 103 dc.x += dc.w;
104 } 104 }
105 105
106 dc.w = bmw; 106 dc.w = bmw;
107 drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.status, False); 107 drawtext(arrange == dofloat ?
108 FLOATSYMBOL : stackpos == StackBottom ?
109 BSTACKSYMBOL : VSTACKSYMBOL, dc.status, False);
108 110
109 x = dc.x + dc.w; 111 x = dc.x + dc.w;
110 dc.w = textw(stext); 112 dc.w = textw(stext);
111 dc.x = bx + bw - dc.w; 113 dc.x = bx + bw - dc.w;
112 if(dc.x < x) { 114 if(dc.x < x) {