dc.y = 0;
dc.w = mw;
dc.h = mh;
- drawtext(&dc, NULL, normcol);
+ drawbox(&dc, normcol);
dc.h = dc.font.height + 2;
dc.y = topbar ? 0 : mh - dc.h;
/* print prompt? */
void
drawmenuh(void) {
+ unsigned long *col;
Item *i;
dc.x += cmdw;
dc.x += dc.w;
for(i = curr; i != next; i = i->right) {
dc.w = MIN(textw(&dc, i->text), mw / 3);
- drawtext(&dc, i->text, (sel == i) ? selcol : normcol);
+ col = (sel == i) ? selcol : normcol;
+ drawbox(&dc, col);
+ drawtext(&dc, i->text, col);
dc.x += dc.w;
}
dc.w = textw(&dc, ">");