libframe: derive attributes of cursor from rio instead of hardcoding them.
This commit is contained in:
parent
d78b83bdfc
commit
8f7cdfa5e2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ frinittick(Frame *f)
|
||||||
/* background color */
|
/* background color */
|
||||||
draw(f->tick, f->tick->r, f->cols[BACK], nil, ZP);
|
draw(f->tick, f->tick->r, f->cols[BACK], nil, ZP);
|
||||||
/* vertical line */
|
/* vertical line */
|
||||||
draw(f->tick, Rect(FRTICKW/2, 0, FRTICKW/2+1, ft->height), f->display->black, nil, ZP);
|
draw(f->tick, Rect(FRTICKW/2, 0, FRTICKW/2+1, ft->height), f->cols[TEXT], nil, ZP);
|
||||||
/* box on each end */
|
/* box on each end */
|
||||||
draw(f->tick, Rect(0, 0, FRTICKW, FRTICKW), f->cols[TEXT], nil, ZP);
|
draw(f->tick, Rect(0, 0, FRTICKW, FRTICKW), f->cols[TEXT], nil, ZP);
|
||||||
draw(f->tick, Rect(0, ft->height-FRTICKW, FRTICKW, ft->height), f->cols[TEXT], nil, ZP);
|
draw(f->tick, Rect(0, ft->height-FRTICKW, FRTICKW, ft->height), f->cols[TEXT], nil, ZP);
|
||||||
|
|
Loading…
Reference in a new issue