graphics.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_gettextcolor
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The _gettextcolor function returns the color index of the current
     text color. The text color is set only by the _settextcolor
     function and affects only text output with the _outtext and _outmem
     functions. Use the _setcolor function to set the color for
     text output with the _outgtext function.
 
     The default is the highest legal color index of the current
     palette in graphics mode, or 7 in text mode.
 
     Return Value
 
     None.
                                    -♦-