home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
CSAPE32.ARJ
/
SOURCE
/
CSSRC
/
FLDGETB.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-28
|
582b
|
31 lines
/*
fldgetb.c
% field_GetBox
C-scape 3.2
Copyright (c) 1986, 1987, by Oakland Group, Inc.
ALL RIGHTS RESERVED.
Revision History:
-----------------
4/30/89 jmd Added macros
3/28/90 jmd ansi-fied
*/
#include "field.h"
boolean field_GetBox(field_type field, ocbox *boxp)
/*
Put the field's coords into a box.
Returns FALSE if the field is sizeless.
*/
{
boxp->botrow = boxp->toprow = field_GetRow(field);
boxp->leftcol = field_GetCol(field);
boxp->rightcol = field_GetLastCol(field);
return(boxp->rightcol >= boxp->leftcol);
}