160 *LookedAhead =
False;
168 *LookedAhead =
False;
221 "Set RGB of unexpanded subcircuit box (point in window for next).");
228 ShowPrompt(
"Set RGB of unexpanded subcircuit label.");
262 if (PlusOrMinus ==
'+')
270 if (PlusOrMinus ==
'+')
278 if (PlusOrMinus ==
'+')
288 if (PlusOrMinus ==
'+') {
295 else if (((*which) -= 10) < 0) *which = 0;
319 sprintf(
TypeOut,
"Hex code for grid line style, 0 for point grid (%x)?",
323 if (TypeIn ==
NULL)
goto quit;
324 if (sscanf(TypeIn,
"%x",&i) == 1 && i >= 0 && i < 256)
327 sprintf(
TypeOut,
"Show grid above layout geometries (%c)?",
331 if (TypeIn ==
NULL)
goto quit;
332 if (*TypeIn ==
'n' Or *TypeIn ==
'N')
334 elif (*TypeIn ==
'y' Or *TypeIn ==
'Y')
337 sprintf(
TypeOut,
"Show grid in coarse viewport of a split screen (%c)?",
341 if (TypeIn ==
NULL)
goto quit;
342 if (*TypeIn ==
'n' Or *TypeIn ==
'N')
344 elif (*TypeIn ==
'y' Or *TypeIn ==
'Y')
349 "Set RGB for fine grid lines (point in window for next).");
365 "Enter new grid interval (currently %g, CR to turn grid %s): ",
370 if (TypeIn !=
NULL) {
371 if (!strlen(TypeIn)) {
375 elif (sscanf(TypeIn,
"%lg",&d) == 1
And d > 0) {
379 sprintf(
TypeOut,
"Grid line spacing now %g.",
405 ShowPrompt(
"Set RGB for menu text (point in window for next).");
413 ShowPrompt(
"Set RGB for menu prefix (point in window for next).");
422 "Set RGB for selected menu text (point in window for next).");
431 "Set RGB for selected prefix (point in window for next).");
493 sprintf(
TypeOut,
" (%d,%d,%d)",r,g,b);
515 int Ready,Center,Modified;
526 struct s *TempCellDesc;
536 if (CellName ==
NULL) {
541 while (isspace(*CellName)) CellName++;
542 if (*CellName ==
'\0') {
545 if (CellName ==
NULL) {
573 while ((c = getc(fp)) != EOF)
614 "You've modified %s. Do you want to save it (y)?",
618 if (TypeIn ==
NULL) {
623 if (TypeIn[0] !=
'n' && TypeIn[0] !=
'N')
648 ShowPrompt(
"Building database. Please wait.");
732 ShowPrompt(
"Current circuit has been saved.");
744 char *TypeIn,NewName[128],*
t;
755 if (TypeIn ==
NULL Or *TypeIn ==
'\0' Or *TypeIn ==
'\n') {
761 while (isspace(*TypeIn)) TypeIn++;
762 if (*TypeIn ==
'\0') {
767 while (*TypeIn && !isspace(*TypeIn))
821 ShowPrompt(
"Current circuit has been saved.");
837 while (isspace(*s)) s++;
838 while (*s && !isspace(*s)) *t++ = *s++;
840 while (isspace(*s)) s++;
857 c = strrchr(cname,DIR_TERM);
866 if (!stricmp(tok,cname))
868 if (!strcmp(tok,cname))
875 for (i = 0, c++; *
c; i++, c++)
struct prpty * sPrptyList
static void newtok(char **p, char *t)
void ShowPromptWithColor()
void Edit(int Ready, int Center, int Modified)
void Color(int *LookedAhead)
struct ka * kvCoarseWindow
void MenuMore(int *LookedAhead)
#define InstanceNameColor
void EraseLargeCoarseViewport()
void Hlite(int *LookedAhead)
#define MenuSelectedColor
int FixCellName(char *cname)
void MenuParams(int *LookedAhead)
union prp_data * prpty_Data
int kpShowGridInLargeViewport
#define MenuHighlightingColor
void Basic(int *LookedAhead)
void SetGrid(int *LookedAhead)
int access(char *pth, int m)
static void subct_color()
void AlterColor(char RGB, char PlusOrMinus)
#define MenuSelectedPrefixColor
void Bgrnd(int *LookedAhead)
#define MenuTextPrefixColor
struct prpty * prpty_Succ
MENU AmbiguityMenu[DefMenuSize]
#define DEFAULT_EDIT_FILE
void ShowPrompt(char *str)
void MenuPrompt(int *LookedAhead)
#define HighlightingColor