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.6 fnts_evnt TOS Name: »Font selector handle event« - Process events for a font selector dialog in a window. Opcode: 186 Syntax: int16_t fnts_evnt ( FNT_DIALOG *fnt_dialog, EVNT *events, int16_t *button, int16_t *check_boxes, int32_t *id, fix31 *pt, int32_t *ratio ); Description: The call fnts_evnt evaluates the passed EVNT structure. The following apply: Parameter Meaning fnt_dialog Pointer to management structure events Pointer to EVNT structure button Selected button (or 0): 1 = Cancel 2 = Ok 3 = Set 4 = Mark 5 = Optional (application-specific) check_boxes Status of the checkboxes: Bit-0 = Checkbox for the names selected Bit-1 = Checkbox for the style selected Bit-2 = Checkbox for the height selected Bit-3 = dto. für Breiten/Höhenverhältnis id ID of the selected font pt Height in 1/65536 point ratio Width/height ratio Hint: The function calls internally wdlg_evnt. Return value: The function returns the value 0 if an exit button was selected, else the value 1 if nothing happened. Availability: The presence of this call should be checked for using appl_getinfo (Opcode 7). Group: Font selection See Also: Binding fnts_do xFSL interface