•  Back 
  •  Object library 
  •  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.16.13  objc_xedit                                                TOS

 Name:         »Object xedit« - Edit text in an object.

 Opcode:       46

 Syntax:       int16_t objc_xedit ( OBJECT *ob_edtree, int16_t 
               ob_edobject, int16_t ob_edchar, int16_t *ob_edidx, 
               int16_t ob_edkind, GRECT *r );

 Description:  The call objc_xedit permits manual text input into 
               objects of the type G_FTEXT or G_FBOXTEXT. The 
               following apply:

                Parameter    Meaning

                ob_edtree    Address of the relevant object tree
                ob_edobject  Index of the object to be edited
                ob_edchar    Character that was input (scancode in the 
                             high and ASCII-code in the low byte)
                ob_edidx     Position of character in the string
                ob_edkind    Function selection, as follows:
                                0 =  Reserved
                                1 =  Calculate formatted string, and 
                                     switch on cursor
                                2=   Process character and then 
                                     display string anew
                                3 =  Switch off cursor
                              103    As mode 3, but the cursor is 
                                     drawn in XOR mode, and in 
                                     addition a pointer to a GRECT 
                                     must be passed, to which the 
                                     output is restricted; important 
                                     for redraws in windows
                r            See ob_edkind

 Return value: An error has arisen only if the value 0 is returned.

 Availability: As of MagiC Version 2.0.

 Group:        Object library

 Querverweise: Binding   objc_wedit   OBJECT   TEDINFO   objc_edit