Lines Matching refs:screen
180 cols[i][1] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, c1); in mkcol()
181 cols[i][2] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, c2); in mkcol()
182 cols[i][3] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, c0); in mkcol()
208 cols[5][0] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xEEEEEEFF); in colinit()
209 cols[5][1] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xCCCCCCFF); in colinit()
210 cols[5][2] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x888888FF); in colinit()
211 cols[5][3] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xAAAAAAFF); in colinit()
213 red = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xFF0000FF); in colinit()
214 green = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x00FF00FF); in colinit()
215 blue = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x0000FFFF); in colinit()
247 draw(screen, screen->r, bg, nil, ZP); in redraw()
250 rtime = screen->r; in redraw()
253 draw(screen, rtime, bg, nil, ZP); in redraw()
255 p = screen->r.min; in redraw()
260 draw(screen, rtime, bg, nil, ZP); in redraw()
262 q = string(screen, p, fg, ZP, mediumfont, buf); in redraw()
275 string(screen, q, fg, ZP, tinyfont, buf); in redraw()
280 p = screen->r.min; in redraw()
288 draw(screen, r, screen, nil, Pt(p.x + Width - x, p.y + topmargin)); in redraw()
290 r.max.x = screen->r.max.x; in redraw()
292 draw(screen, r, bg, nil, ZP); in redraw()
294 line(screen, addpt(p, Pt(x, Height - lineht)), Pt(screen->r.max.x, p.y + Height - lineht), in redraw()
314 line(screen, addpt(p, Pt(sx, topmargin)), in redraw()
322 line(screen, addpt(p, Pt(sx, topmargin)), in redraw()
330 line(screen, addpt(p, Pt(sx, topmargin)), in redraw()
338 line(screen, addpt(p, Pt(sx, topmargin)), in redraw()
348 line(screen, addpt(p, Pt(sx, topmargin)), in redraw()
357 line(screen, addpt(p, Pt(sx, topmargin)), in redraw()
373 draw(screen, r, cols[n % Ncolor][e->etype==SRun?1:3], nil, ZP); in redraw()
384 line(screen, addpt(p, Pt(sx, topmargin)), in redraw()
393 line(screen, addpt(p, Pt(sx, Height / 2 - bottommargin)), in redraw()
411 p = screen->r.min; in redraw()
428 line(screen, addpt(p, Pt(x, height)), addpt(p, Pt(x, Height - lineht)), in redraw()
437 rtime = screen->r; in redraw()
439 draw(screen, rtime, bg, nil, ZP); in redraw()
445 string(screen, addpt(p, Pt(x - stringwidth(tinyfont, buf)/2, - tinyfont->height - 1)), in redraw()
453 string(screen, Pt(screen->r.max.x - stringwidth(mediumfont, buf), screen->r.min.y), in redraw()
495 Height = ntasks ? Dy(screen->r)/ntasks : Dy(screen->r); in newtask()
550 Height = ntasks ? Dy(screen->r)/ntasks : Dy(screen->r); in doevent()
602 Width = Dx(screen->r); in drawtrace()
603 Height = Dy(screen->r); in drawtrace()
605 if((mousectl = initmouse(nil, screen)) == nil) in drawtrace()
632 if(Dx(screen->r) != Width || in drawtrace()
633 Dy(screen->r) != (ntasks * Height)){ in drawtrace()
635 Dx(screen->r), Width + 8, Dy(screen->r), (ntasks * Height) + 8); in drawtrace()
641 Width = Dx(screen->r); in drawtrace()
642 Height = ntasks? Dy(screen->r)/ntasks: in drawtrace()
643 Dy(screen->r); in drawtrace()