12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>Changing the background color index does not change the screen immediately. The changebecomes effective when CLEARSCREEN is executed or when doing text input or output, such aswith READ, WRITE, or OUTTEXT. The graphics output function OUTGTEXT does not affectthe color of the background.Generally, INTEGER(4) color arguments refer to color values and INTEGER(2) color argumentsrefer to color indexes. The two exceptions are GETBKCOLOR and SETBKCOLOR. The defaultbackground color index is 0, which is associated with black unless the user remaps the palette withREMAPPALETTERGB.NOTE. The SETBKCOLOR routine described here is a QuickWin routine. Ifyou are trying to use the Microsoft* Platform SDK version of the SetBkColorroutine by including the IFWIN module, you need to specify the routine nameas MSFWIN$SetBkColor. For more information, see "Special NamingConvention for Certain QuickWin and Win32 Graphics Routines" in youruser’s guide.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “SETBKCOLORRGB”, “GETBKCOLOR”, “REMAPALLPALETTERGB”,“REMAPPALETTERGB”, “SETCOLOR”, “SETTEXTCOLOR”ExampleUSE IFQWININTEGER(4) ii = SETBKCOLOR(14)SETBKCOLORRGBGraphics Function: Sets the current background color to the given Red-Green-Blue (RGB)value. This function is only available on Windows* systems.Module: USE IFQWINSyntaxresult = SETBKCOLORRGB (color)color(Input) INTEGER(4). RGB color value to set the background color to. Range and result depend onthe system’s display adapter.2-388

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!