/* Reads titles of various controls */ #include "common.h" #include "text.h" Global(CharPtr PNTR) ArchiveTxt=NULL; /* used locally in archive.c */ Global(CharPtr PNTR) CurveTxt=NULL; /* used locally in curve.c */ Global(CharPtr PNTR) DatalibTxt=NULL; /* used locally in datalib.c */ Global(CharPtr PNTR) DiagramTxt=NULL; /* used locally in diagram.c */ Global(CharPtr PNTR) DialogTxt=NULL; /* used locally in dialog.c */ Global(CharPtr PNTR) FunctionTxt; /* used locally in function.c */ Global(CharPtr PNTR) MainwndTxt=NULL; /* used locally in mainwnd.c */ Global(CharPtr PNTR) ParamTxt=NULL; /* used locally in param.c */ Global(CharPtr PNTR) PointTxt=NULL; /* used locally in point.c */ Global(CharPtr PNTR) VisualTxt=NULL; /* used locally in visual.c */ Global(CharPtr PNTR) UserTxt=NULL; /* used locally in usertest.c */ Local(void) readTitles(CharPtr PNTR PNTR ptr, Int2 n) { CharPtr p,q; Int2 i; Char buf[80]; *ptr=(CharPtr PNTR)_MemNew(sizeof(CharPtr)*n); for (i=0; i=0) { readTitles(Texts[i].texts,Texts[i].num=CountLines()); } DescClose(); } else { myWarning("CT_OPEN",ParBuf); return; } } Global(void) FreeTexts(void) { Int2 i; for (i=0; i