cp->ypos += STATICHEIGHT/2; cp->boxystart = cp->ypos; if (name) cp->ypos += STATICHEIGHT - (STATICHEIGHT/2);
cp->ypos += STATICHEIGHT;
void beginbox(struct ctlpos *cp, char *name, int idbox, int idtext) {    if (name)        cp->ypos += STATICHEIGHT/2;    cp->boxystart = cp->ypos;    if (name)        cp->ypos += STATICHEIGHT - (STATICHEIGHT/2);    cp->ypos += GAPYBOX;    cp->width -= 2*GAPXBOX;    cp->xoff += GAPXBOX;    cp->boxid = idbox;    cp->boxtextid = idtext;    cp->boxtext = name;}