Home | History | Annotate | Download | only in testpat

Lines Matching refs:col

54 	int i, col, colour, line, x_limit, y_limit, colourOK, spacing;
152 for (col = 1; col < x_limit; col = col + grid_x) {
153 xpos = col;
154 while ((xpos < col + grid_x - 1) && (xpos <
166 for (col = grid_x - 1; col < x_limit; col += grid_x) {
167 mvaddch(ypos, col + 1, 120 | A_ALTCHARSET);
185 for (col = 1; col < x_limit; col += grid_x) {
186 mvaddch(0, col + grid_x - 1, 119 | A_ALTCHARSET);
187 mvaddch(y_limit, col + grid_x - 1, 118 | A_ALTCHARSET);
189 xpos = col;
190 while ((xpos < col + grid_x - 1) && (xpos < x_limit)) {
204 for (col = circle_pos[i][0]; col <= circle_pos[i][1]; col++) {
205 mvaddch(i, col, 32 | A_REVERSE);
216 for (col = roundf((4 * grid_unit * 2) +
217 circle_pos[y_limit / 2][0]); col <= roundf((9 * grid_unit
218 * 2) + circle_pos[y_limit / 2][0]); col++)
219 mvaddch(i, col, ' ');
227 col = y_limit - (strlen(title) / 2) + circle_pos[y_limit / 2][0];
228 mvprintw(i, col, "%s", title);
237 for (col = 0; col <= roundf((3.5 * grid_unit * 2)); col++) {
238 xpos = col + circle_pos[y_limit / 2][0];
244 for (col = roundf((9.5 * grid_unit * 2)); col <
245 roundf((13 * grid_unit * 2)); col++) {
246 xpos = col + circle_pos[y_limit / 2][0];
264 for (col = xpos; col < xpos + gap; col++) {
265 if (col >= circle_pos[i][0] &&
266 col <= circle_pos[i][1])
267 mvaddch(i, col, ' ');
275 for (col = xpos + gap ; col < xpos + (2 * gap);
276 col++) {
277 if (col >= circle_pos[i][0] &&
278 col <= circle_pos[i][1])
279 mvaddch(i, col, ' ');
306 for (col = spacing_start; col < spacing_end; col++) {
307 xpos = col + circle_pos[y_limit / 2][0];
322 for (col = circle_pos[line][0]; col <= circle_pos[line][1];
323 col++)
324 mvaddch(line, col, ' ');
326 for (col = roundf((1.5 * grid_unit * 2)); col <
327 roundf((4.3 * grid_unit * 2)); col++) {
328 xpos = col + circle_pos[y_limit / 2][0];
334 for (col = roundf((4.3 * grid_unit * 2)); col <
335 roundf((7.6 * grid_unit * 2)); col++) {
336 xpos = col + circle_pos[y_limit / 2][0];
342 for (col = roundf((7.6 * grid_unit * 2)); col <
343 roundf((11.5 * grid_unit * 2)); col++) {
344 xpos = col + circle_pos[y_limit / 2][0];
359 for (col = roundf((0 * grid_unit * 2)); col <
360 roundf((4 * grid_unit * 2)); col++) {
361 xpos = col + circle_pos[y_limit / 2][0];
367 for (col = roundf((4 * grid_unit * 2)); col <
368 roundf((6.5 * grid_unit * 2)); col++) {
369 xpos = col + circle_pos[y_limit / 2][0];
380 for (col = roundf((6.5 * grid_unit * 2)); col <
381 roundf((9 * grid_unit * 2)); col++) {
382 xpos = col + circle_pos[y_limit / 2][0];
388 for (col = roundf((9 * grid_unit * 2)); col <
389 roundf((13 * grid_unit * 2)); col++) {
390 xpos = col + circle_pos[y_limit / 2][0];
405 for (col = roundf(3.5 * grid_unit * 2); col <= roundf(9.5 *
406 grid_unit * 2); col++) {
407 xpos = col + circle_pos[y_limit / 2][0];
418 for (col = roundf(0 * grid_unit * 2); col <= roundf(3.5 *
419 grid_unit * 2); col++) {
420 xpos = col + circle_pos[y_limit / 2][0];
426 for (col = roundf(9.5 * grid_unit * 2); col <= roundf(13 *
427 grid_unit * 2); col++) {
428 xpos = col + circle_pos[y_limit / 2][0];
443 for (col = circle_pos[line][0]; col <= circle_pos[line][1];
444 col++)
445 mvaddch(line, col, ' ');
452 for (col = roundf((6 * grid_unit * 2)); col <
453 roundf((7 * grid_unit * 2)); col++) {
454 xpos = col + circle_pos[y_limit / 2][0];
472 col = x_limit / 2;
474 mvaddch(line, col - 1, ' ');
475 mvaddch(line, col, 120 | A_ALTCHARSET);
476 mvaddch(line, col + 1, ' ');
481 for (col = 1; col < x_limit; col = col + grid_x) {
482 xpos = col;
483 while (xpos < col + grid_x - 1) {
494 col = x_limit / 2;
495 mvaddch(line, col, 110 | A_ALTCHARSET);
496 mvaddch(line, col - 1, 113 | A_ALTCHARSET);
497 mvaddch(line, col + 1, 113 | A_ALTCHARSET);