equal
deleted
inserted
replaced
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], (i == tsel)); |
112 drawtext(tags[i], tsel[i]); |
113 else |
113 else |
114 drawtext(tags[i], (i != tsel)); |
114 drawtext(tags[i], !tsel[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); |