Lines Matching defs:rows
29 static int rows;
39 rows = (p->objects + MAXCOLS - 1) / MAXCOLS;
48 xmax = (CHILDSIZE+CHILDSPACE) * (rows > 1 ? MAXCOLS : p->objects);
49 ymax = rows * (CHILDSIZE+CHILDSPACE);
52 positions[i].x = (CHILDSIZE+CHILDSPACE) * (i/rows) + CHILDSPACE/2;
53 positions[i].y = (CHILDSIZE+CHILDSPACE) * (i%rows) + CHILDSPACE/2;
142 rows = (p->objects + MAXCOLS - 1) / MAXCOLS;
151 xmax = (CHILDSIZE+CHILDSPACE) * (rows > 1 ? MAXCOLS : p->objects);
152 ymax = rows * (CHILDSIZE+CHILDSPACE);
159 positions[i].x = (CHILDSIZE+CHILDSPACE) * (i/rows) + CHILDSPACE/2;
160 positions[i].y = (CHILDSIZE+CHILDSPACE) * (i%rows) + CHILDSPACE/2;