home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
CSAPE32.ARJ
/
SOURCE
/
CSSRC
/
SDGETCLR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-28
|
563b
|
28 lines
/*
sdgetclr.c
% sed_GetColors
C-scape 3.2
Copyright (c) 1986, 1987, by Oakland Group, Inc.
ALL RIGHTS RESERVED.
Revision History:
-----------------
3/24/89 jmd added sed_ macros, removed sed back.
3/28/90 jmd ansi-fied
*/
#include "sed.h"
void sed_GetColors(sed_type sed, byte *fore, byte *back, byte *high)
{
cs_Assert(sed_Ok(sed), CS_SD_GC_SED, 0);
cs_Assert(fore != NULL && back != NULL && high != NULL, CS_SD_GC_PTR, 0);
*fore = sed_GetRegAttr(sed);
*high = sed_GetSelAttr(sed);
*back = win_GetAttr(sed);
}