•  Back 
  •  The extended xFSL call 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File13.14.1.3.3  xfsl_exit                                             TOS

With the xfsl_exit call the font-selector is removed from the screen 
again:

     void xfsl_exit (int xhandle);

Here xhandle is again the handle of the font-selector, as returned by 
xfsl_init.

xfsl_exit must be called always when the use of the font-selector is 
to be ended, be it that a font was chosen or 'Cancel' was selected, or 
that xfsl_event reported an error. If already the xfsl_init call 
failed, then xfsl_exit may not be called (logical, since one has no 
valid handle).

The call of xfsl_exit should also not be forgotten on arrival of the 
AC_CLOSE and AP_TERM messages!