•  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.11  fnts_open                                                 TOS

 Name:         »Font selector open window« - Open font selector in a 
               window.

 Opcode:       182

 Syntax:       int16_t fnts_open ( FNT_DIALOG *fnt_dialog, int16_t 
               button_flags, int16_t x, int16_t y, int32_t id, fix31 
               pt, fix31 ratio );

 Description:  The call fnts_open opens a window dialog with the font 
               selector. The following apply:

                Parameter     Meaning

                fnt_dialog    Pointer to management structure
                button_flags  Flags for supported buttons:
                               0x0001 = Select checkbox for names
                               0x0002 = Select checkbox for style
                               0x0004 = Select checkbox for height
                               0x0008 = Select checkbox for 
                                       width/height ratio
                               0x0100 = Display checkbox for names
                               0x0200 = Display checkbox for style
                               0x0400 = Display checkbox for height
                               0x0800 = Display checkbox for 
                                       width/height ratio
                               0x1000 = Width/height ratio adjustable
                               0x2000 = Button 'Set' selectable
                               0x4000 = Button 'Mark' selectable
                x             X-coordinate of the window's top left 
                              corner, or -1 (centred)
                y             Y-coordinate of the window's top left 
                              corner, or -1 (centred)
                id            Font ID
                pt            Height in 1/65536 point
                ratio         Width/height ratio in 1/65536

 Return value: This function returns the AES handle of the window or 0 
               (error).

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

 Group:        Font selection

 See Also:     Binding   fnts_close   xFSL interface