implement noredraw
This commit is contained in:
parent
9614b46f79
commit
f6cb98335a
1 changed files with 1 additions and 2 deletions
|
|
@ -13,9 +13,8 @@ _frredraw(Frame *f, Point pt)
|
||||||
|
|
||||||
for(nb=0,b=f->box; nb<f->nbox; nb++, b++){
|
for(nb=0,b=f->box; nb<f->nbox; nb++, b++){
|
||||||
_frcklinewrap(f, &pt, b);
|
_frcklinewrap(f, &pt, b);
|
||||||
if(b->nrune >= 0){
|
if(!f->noredraw && b->nrune >= 0)
|
||||||
string(f->b, pt, f->cols[TEXT], ZP, f->font, (char *)b->ptr);
|
string(f->b, pt, f->cols[TEXT], ZP, f->font, (char *)b->ptr);
|
||||||
}
|
|
||||||
pt.x += b->wid;
|
pt.x += b->wid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue