diff options
author | Connor Lane Smith <cls@lubutu.com> | 2010-07-30 10:25:55 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2010-07-30 10:25:55 +0100 |
commit | 115c01b74ebd57382679bec5c6e1ff5604370cbf (patch) | |
tree | 5908c6e7c4fa4611e240cc2e06067f44ca7304cc /dinput.c | |
parent | d77340ed53ab7b04e289569b00cb46bd6f3ec06b (diff) |
new libdraw
Diffstat (limited to 'dinput.c')
-rw-r--r-- | dinput.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,12 +34,14 @@ drawbar(void) /* print prompt? */ if(prompt) { dc.w = promptw; + drawbox(&dc, selcol); drawtext(&dc, prompt, selcol); dc.x += dc.w; } dc.w = mw - dc.x; drawtext(&dc, text, normcol); - drawcursor(&dc, text, cursor, normcol); + drawline(&dc, textnw(&dc, text, cursor) + dc.font.height/2, 2, 1, + dc.font.height-2, normcol); commitdraw(&dc, win); } |