#include "spice.h"
#include "sced.h"
#include "scedmacs.h"
Go to the source code of this file.
void AlterColor |
( |
char |
RGB, |
|
|
char |
PlusOrMinus |
|
) |
| |
Definition at line 249 of file bascmd.c.
262 if (PlusOrMinus ==
'+')
270 if (PlusOrMinus ==
'+')
278 if (PlusOrMinus ==
'+')
288 if (PlusOrMinus ==
'+') {
295 else if (((*which) -= 10) < 0) *which = 0;
void Basic |
( |
int * |
LookedAhead | ) |
|
void Bgrnd |
( |
int * |
LookedAhead | ) |
|
Definition at line 184 of file bascmd.c.
void ShowPrompt(char *str)
void Color |
( |
int * |
LookedAhead | ) |
|
Definition at line 82 of file bascmd.c.
160 *LookedAhead =
False;
168 *LookedAhead =
False;
static void subct_color()
MENU AmbiguityMenu[DefMenuSize]
void ShowPrompt(char *str)
void Edit |
( |
int |
Ready, |
|
|
int |
Center, |
|
|
int |
Modified |
|
) |
| |
Definition at line 513 of file bascmd.c.
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.");
struct ka * kvCoarseWindow
void EraseLargeCoarseViewport()
int FixCellName(char *cname)
int access(char *pth, int m)
#define DEFAULT_EDIT_FILE
void ShowPrompt(char *str)
Definition at line 920 of file bascmd.c.
struct ka * kvCoarseWindow
void EraseLargeCoarseViewport()
int FixCellName |
( |
char * |
cname | ) |
|
Definition at line 846 of file bascmd.c.
857 c = strrchr(cname,DIR_TERM);
866 if (!stricmp(tok,cname))
868 if (!strcmp(tok,cname))
875 for (i = 0, c++; *
c; i++, c++)
static void newtok(char **p, char *t)
void Hlite |
( |
int * |
LookedAhead | ) |
|
Definition at line 199 of file bascmd.c.
void ShowPrompt(char *str)
#define HighlightingColor
void MenuMore |
( |
int * |
LookedAhead | ) |
|
Definition at line 465 of file bascmd.c.
void ShowPromptWithColor()
void MenuParams |
( |
int * |
LookedAhead | ) |
|
Definition at line 398 of file bascmd.c.
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).");
#define MenuSelectedColor
#define MenuHighlightingColor
#define MenuSelectedPrefixColor
#define MenuTextPrefixColor
void ShowPrompt(char *str)
void MenuPrompt |
( |
int * |
LookedAhead | ) |
|
Definition at line 450 of file bascmd.c.
void ShowPrompt(char *str)
static void newtok |
( |
char ** |
p, |
|
|
char * |
t |
|
) |
| |
|
static |
Definition at line 831 of file bascmd.c.
837 while (isspace(*s)) s++;
838 while (*s && !isspace(*s)) *
t++ = *s++;
840 while (isspace(*s)) s++;
Definition at line 715 of file bascmd.c.
732 ShowPrompt(
"Current circuit has been saved.");
void ShowPrompt(char *str)
void SetGrid |
( |
int * |
LookedAhead | ) |
|
Definition at line 308 of file bascmd.c.
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.",
int kpShowGridInLargeViewport
void ShowPrompt(char *str)
Definition at line 907 of file bascmd.c.
struct ka * kvCoarseWindow
void EraseLargeCoarseViewport()
static void subct_color |
( |
| ) |
|
|
static |
static void subct_color |
( |
int * |
LookedAhead | ) |
|
|
static |
Definition at line 214 of file bascmd.c.
221 "Set RGB of unexpanded subcircuit box (point in window for next).");
228 ShowPrompt(
"Set RGB of unexpanded subcircuit label.");
#define InstanceNameColor
void ShowPrompt(char *str)
Definition at line 43 of file bascmd.c.
void ShowPrompt(char *str)
Definition at line 740 of file bascmd.c.
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.");
struct prpty * sPrptyList
union prp_data * prpty_Data
struct prpty * prpty_Succ
void ShowPrompt(char *str)