•  Back 
  •  Font selection 
  •  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-File8.20.1  fnts_add                                                   TOS

 Name:         »Font selector add user fonts« - Add user's fonts for 
               selection.

 Opcode:       185 (sub-opcode 0)

 Syntax:       int16_t fnts_add ( FNT_DIALOG *fnt_dialog, FNTS_ITEM 
               *user_fonts );

 Description:  The call fnts_add adds the user's fonts to those of 
               those displayed by the font selector. The following 
               apply:

                Parameter   Meaning

                fnt_dialog  Pointer to management structure
                user_fonts  Pointer to user fonts

               Hint: The IDs of these fonts must be higher than 65535. 
               In addition the pointer to a display function must be 
               entered into the structure element display.

 Return value: On successful execution the function returns the value 
               1. A value of 0 on the other hand signals an error.

 Availability: The presence of this call should be checked for using 
               appl_getinfo (Opcode 7).

 Group:        Font selection

 See Also:     Binding   fnts_delete   fnts_remove   xFSL interface