12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>between getting BUTTONDBLCLK and BUTTONDOWN for the second click depends onwhether the second click occurs in the double click interval, set in the system’s CONTROLPANEL/MOUSE.CompatibilityQUICKWIN GRAPHICS LIBSee Also: “UNREGISTERMOUSEEVENT”, “WAITONMOUSEEVENT”, "Using QuickWin"in your user’s guideExampleThe following example registers the routine CALCULATE, to be called when the userdouble-clicks the left mouse button while the mouse cursor is in the child window opened as unit4:USE IFQWININTEGER(4) resultOPEN (4, FILE= 'USER')...result = REGISTERMOUSEEVENT (4, MOUSE$LBUTTONDBLCLK, CALCULATE)REMAPALLPALETTERGBGraphics Function: Remaps a set of Red-Green-Blue (RGB) color values to indexes recognizedby the video hardware. This function is only available on Windows* systems.Module: USE IFQWINSyntaxresult = REMAPALLPALETTERGB (colors)colors(Input) INTEGER(4). Ordered array of RGB color values to be mapped in order to indexes. Musthold 0–255 elements.Results:The result type is INTEGER(4). The result is 0 if successful; otherwise, –1.The REMAPALLPALETTERGB function remaps all of the available color indexessimultaneously (up to 236; 20 indexes are reserved by the operating system). The colors argumentpoints to an array of RGB color values. The default mapping between the first 16 indexes andcolor values is shown in the following table. The 16 default colors are provided with symbolicconstants in IFQWIN.F90.2-372

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

Saved successfully!

Ooh no, something went wrong!