Home Font selector FONT SELECTOR - OPEN WINDOW (AES 182) FONT SELECTOR - GET NUMBER OF STYLES (AES 184, 0)

2.5.6 FONT SELECTOR - CLOSE WINDOW (AES 183)

CLOSE WINDOW closes the window of the font selector.

Declaration:
WORD fnts_close( FNT_DIALOG *fnt_dialog, WORD *x, WORD *y );

Call:
fnts_close( *fnt_dialog, &x, &y );

Variable         Argument            Meaning
Inputs:

contrl[0]        183                 fnts_close
contrl[1]        0                   Entries in intin
contrl[3]        1                   Entries in addrin

addrin[0]        fnt_dialog          Pointer to management structure

Outputs:

contrl[2]        3                   Entries in intout
contrl[4]        0                   Entries in addrout

intout[0]        1
intout[1]        x                   Last x-coordinate of the dialog
intout[2]        y                   Last y-coordinate of the dialog

Note: Old WDIALOG versions do not return the window coordinates. In that case the binding enters -1, so that the dialog will be centred automatically at the next call.


Home Font selector FONT SELECTOR - OPEN WINDOW (AES 182) FONT SELECTOR - GET NUMBER OF STYLES (AES 184, 0)