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>If you use SETWINDOWCONFIG, you should specify a value for each field (–1 or your ownvalue for the numeric fields and a C string for the title, for example, "words of text"C). UsingSETWINDOWCONFIG with only some fields specified can result in useless values for theunspecified fields.If you request a configuration that cannot be set, SETWINDOWCONFIG returns .FALSE. andcalculates parameter values that will work and are as close as possible to the requestedconfiguration. A second call to SETWINDOWCONFIG establishes the adjusted values; forexample:status = SETWINDOWCONFIG(wc)if (.NOT.status) status = SETWINDOWCONFIG(wc)If you specify values for all four of the size parameters, numxpixels, numypixel, numtextcols, andnumtextrows, the font size is calculated by dividing these values.The default font is Courier Newand the default font size is 8x16. There is no restriction on font size, except that the window mustbe large enough to hold it.Under Standard Graphics, the application attempts to start in Full Screen mode with no windowdecoration (window decoration includes scroll bars, menu bar, title bar, and message bar) so thatthe maximum resolution can be fully used. Otherwise, the application starts in a window. You canuse ALT+ENTER at any time to toggle between the two modes.If you are in Full Screen mode and the resolution of the window does not match the resolution ofthe video driver, graphics output will be slow compared to drawing in a window.NOTE. You must call DISPLAYCURSOR($GCURSORON) to make thecursor visible after calling SETWINDOWCONFIG.CompatibilitySTANDARD GRAPHICS QUICKWIN GRAPHICS LIBSee Also: “GETWINDOWCONFIG”, “DISPLAYCURSOR”, "Using QuickWin" in your user’sguideExampleUSE IFQWINTYPE (windowconfig) wcLOGICAL status /.FALSE./! Set the x & y pixels to 800X600 and font size to 8x12wc%numxpixels = 800wc%numypixels = 600wc%numtextcols = -12-434

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

Saved successfully!

Ooh no, something went wrong!