Home | History | Annotate | Download | only in dist

Lines Matching refs:py

35 grid_view_get_cell(struct grid *gd, u_int px, u_int py, struct grid_cell *gc)
37 grid_get_cell(gd, grid_view_x(gd, px), grid_view_y(gd, py), gc);
42 grid_view_set_cell(struct grid *gd, u_int px, u_int py,
45 grid_set_cell(gd, grid_view_x(gd, px), grid_view_y(gd, py), gc);
50 grid_view_set_padding(struct grid *gd, u_int px, u_int py)
52 grid_set_padding(gd, grid_view_x(gd, px), grid_view_y(gd, py));
57 grid_view_set_cells(struct grid *gd, u_int px, u_int py,
60 grid_set_cells(gd, grid_view_x(gd, px), grid_view_y(gd, py), gc, s,
95 grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny,
99 py = grid_view_y(gd, py);
101 grid_clear(gd, px, py, nx, ny, bg);
138 grid_view_insert_lines(struct grid *gd, u_int py, u_int ny, u_int bg)
142 py = grid_view_y(gd, py);
146 grid_move_lines(gd, py + ny, py, sy - py - ny, bg);
151 grid_view_insert_lines_region(struct grid *gd, u_int rlower, u_int py,
158 py = grid_view_y(gd, py);
160 ny2 = rlower + 1 - py - ny;
161 grid_move_lines(gd, rlower + 1 - ny2, py, ny2, bg);
162 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2, bg);
167 grid_view_delete_lines(struct grid *gd, u_int py, u_int ny, u_int bg)
171 py = grid_view_y(gd, py);
175 grid_move_lines(gd, py, py + ny, sy - py - ny, bg);
181 grid_view_delete_lines_region(struct grid *gd, u_int rlower, u_int py,
188 py = grid_view_y(gd, py);
190 ny2 = rlower + 1 - py - ny;
191 grid_move_lines(gd, py, py + ny, ny2, bg);
192 grid_clear(gd, 0, py + ny2, gd->sx, ny - ny2, bg);
197 grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg)
202 py = grid_view_y(gd, py);
207 grid_clear(gd, px, py, 1, 1, bg);
209 grid_move_cells(gd, px + nx, px, py, sx - px - nx, bg);
214 grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg)
219 py = grid_view_y(gd, py);
223 grid_move_cells(gd, px, px + nx, py, sx - px - nx, bg);
224 grid_clear(gd, sx - nx, py, nx, 1, bg);
229 grid_view_string_cells(struct grid *gd, u_int px, u_int py, u_int nx)
232 py = grid_view_y(gd, py);
234 return (grid_string_cells(gd, px, py, nx, NULL, 0, NULL));