Lines Matching refs:scroll
129 /* scroll bar positions */
136 } scroll;
602 cairo_rectangle(cr, w->scroll.vx - 10, w->scroll.vy - 20, 20, 40);
603 cairo_rectangle(cr, w->scroll.hx - 20, w->scroll.hy - 10, 40, 20);
608 cairo_rectangle(cr, w->scroll.vx_discrete - 5, w->scroll.vy_discrete - 10, 10, 20);
609 cairo_rectangle(cr, w->scroll.hx_discrete - 10, w->scroll.hy_discrete - 5, 20, 10);
1034 w->scroll.vx = w->width/2;
1035 w->scroll.vy = w->height/2;
1036 w->scroll.hx = w->width/2;
1037 w->scroll.hy = w->height/2;
1038 w->scroll.vx_discrete = w->width/2;
1039 w->scroll.vy_discrete = w->height/2;
1040 w->scroll.hx_discrete = w->width/2;
1041 w->scroll.hy_discrete = w->height/2;
1473 w->scroll.vy += value;
1474 w->scroll.vy = clip(w->scroll.vy, 0, w->height);
1477 w->scroll.vy_discrete += value;
1478 w->scroll.vy_discrete = clip(w->scroll.vy_discrete, 0, w->height);
1485 w->scroll.hx += value;
1486 w->scroll.hx = clip(w->scroll.hx, 0, w->width);
1489 w->scroll.hx_discrete += value;
1490 w->scroll.hx_discrete = clip(w->scroll.hx_discrete, 0, w->width);