/* * $Source: /mit/hst/src/circuit/RCS/Xcv.h,v $ * $Header: /mit/hst/src/circuit/RCS/Xcv.h,v 2.0 90/08/06 17:45:26 tldavis Stab $ */ /* default stuff for the modify-parameter window type */ #define LINEAR 0 #define LOG 1 #define MPWIN_NUM_FONT "*-courier-medium-r-*-*-*-80-*" #define MPWIN_HDR_FONT "*-times-bold-r-*-*-*-100-*" #define MPWIN_TIT_FONT "*-times-bold-r-*-*-*-100-*" #define MPWIN_HEIGHT 150 #define MPWIN_WIDTH 300 #define MPWIN_TICSIZE 5 #define MPWIN_MAX_TICS 10 #define MPWIN_HEADER_HEIGHT 30 #define MPWIN_HEADER_WIDTH 50 #define DIAGRAM_FONT "*-times-bold-r-*-*-*-100-*" #define LARGE_FONT "*-times-bold-r-*-*-*-120-*" #define IconWindow 0 #define CircuitWindow 1 #define ResistorWindow 2 #define CapacitorWindow 3 #define VarCapacitorWindow 4 #define DiodeWindow 5 #define WireWindow 6 #define SystemWindow 7 typedef struct circinfo_ { int x, y, width, height; /* specs of window in question */ Window parent; int type; /* Icon, Circuit, Resistor, Capacitor, VarCapacitor, Wire etc. see above (always ending in Window)*/ char *name1, *name2; /* description of window (used in icons) */ void (*mk_fn)(); /*function when passed window will fill it (or NULL)*/ int place; /* (logical) one of 15 possiblilities (see cvdefs.h) */ int *depvars; /* list of simulated variables attached (see cvdefs.h) */ int *indepvars; /* list of system parameters attached to this window */ } CircInfo; /*TAG - newstuff */ typedef struct _BatchFrame{ Window parent; Window self; Window icon; int x, y; unsigned int width, height; unsigned int bdrwidth; unsigned long border; unsigned long background; }BatchFrame;