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.

Descriptions of the Library Routines 2This function’s behavior depends on the value of QWINFO%TYPE, which can be any of thefollowing:• QWIN$MIN – Minimizes the window.• QWIN$MAX – Maximizes the window.• QWIN$RESTORE – Restores the minimized window to its previous size.• QWIN$SET – Sets the window’s position and size according to the other values in qwinfo.Results:The result type is INTEGER(4). The result is zero if successful; otherwise, nonzero (unless calledfrom INITIALSETTINGS). If called from INITIALSETTINGS, the following occurs:• SETWSIZEQQ always returns –1.• Only QWIN$SET will work.The position and dimensions of child windows are expressed in units of character height andwidth. The position and dimensions of the frame window are expressed in screen pixels.The height and width specified for a frame window reflects the actual size in pixels of the framewindow including any borders, menus, and status bar at the bottom.CompatibilityQUICKWIN GRAPHICS LIBSee Also: “GETWSIZEQQ”, “INITIALSETTINGS”, "Using QuickWin" in your user’s guideExampleUSE IFQWINLOGICAL(4) resultINTEGER(2) numfonts, fontnumTYPE (qwinfo) winfoTYPE (xycoord) pos! Maximize frame windowwinfo%TYPE = QWIN$MAXresult = SETWSIZEQQ(QWIN$FRAMEWINDOW, winfo)! Maximize child windowresult = SETWSIZEQQ(0, winfo)numfonts = INITIALIZEFONTS( )fontnum = SETFONT ('t''Arial''h50w34i')CALL MOVETO (INT2(10), INT2(30), pos)CALL OUTGTEXT("BIG Window")END2-439

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

Saved successfully!

Ooh no, something went wrong!