/*
* Copyright 1990 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/* tu.c: draws horizontal lines */
# include "t..c"
void drawline(int, int, int, int, int, int);
void
{
if (type==0) return;
cr=c;
if (shortl==0)
else
}
void
{
if (!pr1403)
cr= 0;
{
cl++;
break;
}
if (!pr1403)
}
void
{
lcount=0;
switch(lintype)
{
}
if (lcount<=0) return;
if (!nodata)
{
if (shortl==0)
{
if (lcount>1)
{
{
}
if (exhl[0])
}
else if (lcount==1)
{
{
}
if (exhl[0])
}
if (lcount>1)
{
{
}
}
else if (lcount==1)
{
{
}
}
}
else
if (linsize)
if (shortl)
else
{
lnch = "\\(ul";
if (pr1403)
else
}
if (linsize)
}
if (oldpos!=0)
if (!nodata)
}
void
getstop(void)
{
stopp=1;
for(i=0; i<MAXLIN; i++)
linestop[i]=0;
for(i=0; i<nlin; i++)
for(c=0; c<ncol; c++)
{
if (k>=0 && linestop[k]==0)
}
linestop[0]=1;
}
int
{
/* returns -1 if no line to left */
/* returns number of line where it starts */
/* stores into lwid the kind of line */
*lwidp=0;
if (kind==0) return(-1);
if (i+1<nlin)
return(li);
for(i= i+1; i<li; i++)
if (fullbot[i])
li=i;
return(li);
}
int
lefdata(int i, int c)
{
int ck;
if (ctype(i,c) == 's')
{
return(0);
}
i =stynum[i];
i = lefline[i][c];
if (i>0) return(i);
if (dboxflg && c==0) return(2);
if (allflg)return(1);
if (boxflg && c==0) return(1);
return(0);
}
int
next(int i)
{
while (i+1 <nlin)
{
i++;
}
return(i);
}
int
prev(int i)
{
;
return(i);
}