comparison draw.c @ 262:d659a2dce2b5

implemented viewextend and added M-S-C-n shortcuts for extending the current view... updated man page (works great!) nice feature
author Anselm R.Garbe <arg@10ksloc.org>
date Fri, 11 Aug 2006 19:26:12 +0200
parents d6fd632d861c
children bf6792e3e700
comparison
equal deleted inserted replaced
261:d6fd632d861c 262:d659a2dce2b5
107 dc.w = 0; 107 dc.w = 0;
108 for(i = 0; i < ntags; i++) { 108 for(i = 0; i < ntags; i++) {
109 dc.x += dc.w; 109 dc.x += dc.w;
110 dc.w = textw(tags[i]); 110 dc.w = textw(tags[i]);
111 if(istile) 111 if(istile)
112 drawtext(tags[i], tsel[i]); 112 drawtext(tags[i], seltag[i]);
113 else 113 else
114 drawtext(tags[i], !tsel[i]); 114 drawtext(tags[i], !seltag[i]);
115 } 115 }
116 x = dc.x + dc.w; 116 x = dc.x + dc.w;
117 dc.w = textw(stext); 117 dc.w = textw(stext);
118 dc.x = bx + bw - dc.w; 118 dc.x = bx + bw - dc.w;
119 drawtext(stext, !istile); 119 drawtext(stext, !istile);