67 "Enter window width (now %g) or RETURN for %s display: ",
78 if ((sscanf(TypeIn,
"%ld",&NewWindowWidth) < 1)
Or NewWindowWidth <= 0) {
127 *LookedAhead =
False;
138 long NewWindowWidth, Width, Height, Tmp;
141 ShowPrompt(
"Point to endpoints of diagonal.");
173 if (Width < 0) Width = -Width;
174 if (Height < 0) Height = -Height;
178 NewWindowWidth =
Max(Width,Tmp);
183 if (NewWindowWidth <= 0) NewWindowWidth =
RESOLUTION;
208 int EscWasReturned = 0;
232 ShowPrompt(
"Point to the name of the desired view.");
242 ShowPrompt(
"You aren't pointing at the menu.");
249 if (EscWasReturned)
goto quit;
328 struct kw *New, *Tmp;
348 sprintf(buf,
"Current view assigned to: %c",
'A'+i);
370 #define ka_copy(BB1,BB2) BB1.kaLeft = BB2->kaLeft; \ 371 BB1.kaRight = BB2->kaRight; \ 372 BB1.kaBottom = BB2->kaBottom; \ 373 BB1.kaTop = BB2->kaTop; \ 374 TPoint(&BB1.kaLeft,&BB1.kaBottom); \ 375 TPoint(&BB1.kaRight,&BB1.kaTop); \ 376 if(BB.kaLeft > BB.kaRight) \ 377 SwapInts(BB1.kaLeft,BB1.kaRight); \ 378 if(BB.kaBottom > BB.kaTop) \ 379 SwapInts(BB1.kaBottom,BB1.kaTop); 453 struct s *MasterDesc;
472 CDGen(CellDesc,GenDesc,&Pointer);
473 if (Pointer ==
NULL)
break;
479 CDWire(Pointer,&Layer,&Width,&Path);
497 CDLabel(Pointer,&Layer,&Label,&X,&Y,&Xform);
511 CDGen(CellDesc,GenDesc,&Pointer);
512 if (Pointer ==
NULL)
break;
514 CDCall(Pointer,&MasterName,&NumX,&DX,&NumY,&DY);
518 if (
OpenCell(MasterName,&MasterDesc))
break;
527 for (Int1 = NumY-1; Int1 >= 0; --Int1) {
528 for (Int2 = 0; Int2 < NumX; ++Int2 ){
556 CDGen(CellDesc,GenDesc,&Pointer);
557 if (Pointer ==
NULL)
break;
559 CDCall(Pointer,&MasterName,&NumX,&DX,&NumY,&DY);
562 if (
OpenCell(MasterName,&MasterDesc))
break;
574 for (Int1 = NumY-1; Int1 >= 0; --Int1) {
575 for (Int2 = 0; Int2 < NumX; ++Int2 ){
612 if (NumX != 1
Or NumY != 1)
613 sprintf(
TypeOut,
"%d/%d %s",NumX,NumY,MasterName);
614 else sprintf(
TypeOut,
"%s",MasterName);
627 ShowPrompt(
"Interrupted. Type Ctrl A to abort.");
640 ShowPrompt(
"Cell hierarchy is too deep. MORE");
642 ShowPrompt(
"Probably you have a recursive hierarchy.");
663 CDTGen(&TGen,&Type,&X,&Y);
664 if (TGen ==
NULL)
break;
struct kw * kpWindowStack
static char buf[MAXPROMPT]
int kvFineViewportOnBottom
void SetTransform(struct o *Pointer)
struct ka * kvCoarseWindow
static int HierarchyLevel
void Redisplay(struct ka *AOI)
#define COARSEVIEWPORTONLY
#define Max(Dragon, Eagle)
#define InstanceNameColor
#define ka_copy(BB1, BB2)
void EraseLargeCoarseViewport()
#define Min(Dragon, Eagle)
struct ka * kvFineViewport
struct ka * kvLargeCoarseViewport
long kwLastFineWindowWidth
void DevSetColor(int colorid)
struct ka * kvCoarseViewport
static void redisplay_layer()
void Zoom(int *LookedAhead)
void RedisplayAfterInterrupt()
void FBSetRubberBanding()
MENU AmbiguityMenu[DefMenuSize]
void ShowPrompt(char *str)
void Pan(int *LookedAhead)
#define SwapInts(Dragon, Eagle)
#define HighlightingColor
void Windo(int *LookedAhead)