Download Examples of documentation and programming (DEC VAX)

Transcript
}
*ht += 2;
*wd += 2;
}
/* Add for border */
/* Add for border */
/* Accent a horizontal menu selection */
static void light(MENU *mn, WINDOW *hmenu, int hsel, int d)
{
if (d)
/* Select/deselect flag */
reverse_video(hmenu);
/* Reverse video */
wcursor(hmenu,(hsel-1)*12+2,0);
/* Position cursor */
wprintf(hmenu,(mn+hsel-1)->mname);
/* Write option */
normal_video(hmenu);
/* Rest video */
cursor(0,26);
/* Hide cursor */
}
1-48