Searched refs:ncols (Results 1 - 6 of 6) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dlife.c90 int ncols; member in struct:__anon105
354 unsigned char *loc = lp->buffer + ((row + 1) * (lp->ncols + 2)) + col + 1;
396 lastrow = (lp->nrows) * (lp->ncols + 2);
398 col = off % (lp->ncols + 2);
399 row = (off - col) / (lp->ncols + 2);
400 ulloc = loc - lp->ncols - 3;
401 ucloc = loc - lp->ncols - 2;
402 urloc = loc - lp->ncols - 1;
406 llloc = loc + lp->ncols + 1;
407 lcloc = loc + lp->ncols
[all...]
H A Dimage.c72 int ncols; member in struct:__anon104
101 ip->icons[i].x = random() % ip->ncols;
136 ip->ncols = ip->width / sunlogo_width;
138 ip->iconmode = (ip->ncols < 2 || ip->nrows < 2);
144 ip->xb = (ip->width - sunlogo_width * ip->ncols) / 2;
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1ListP.h94 ncols; /* number of columns in the list. */ member in struct:__anon305
H A DXaw3_1List.c353 one = (lw->list.ncols * ((yloc - (int) lw->list.internal_height)
357 if (another >= lw->list.ncols) {
358 another = lw->list.ncols - 1;
415 things = lw->list.ncols;
477 x = lw->list.col_width * (item % lw->list.ncols)
479 y = lw->list.row_height * (item / lw->list.ncols)
538 lr_item = lw->list.nrows * lw->list.ncols - 1;
648 lw->list.ncols = lw->list.default_cols;
649 if (lw->list.ncols <= 0) lw->list.ncols
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DListP.h94 ncols; /* number of columns in the list. */ member in struct:__anon369
H A DList.c419 one = (lw->list.ncols * ((yloc - (int) lw->list.internal_height)
423 if (another >= lw->list.ncols) {
424 another = lw->list.ncols - 1;
483 things = lw->list.ncols;
593 x = lw->list.col_width * (item % lw->list.ncols)
595 y = lw->list.row_height * (item / lw->list.ncols)
675 lr_item = lw->list.nrows * lw->list.ncols - 1;
784 lw->list.ncols = lw->list.default_cols;
785 if (lw->list.ncols <= 0) lw->list.ncols
[all...]

Completed in 23 milliseconds