Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
d_edit_proc(3)			 Allegro manual 		  d_edit_proc(3)

NAME
     d_edit_proc  - Dialog procedure implementing an editable text object. Alle-
     gro game programming library.

SYNOPSIS
     #include <allegro.h>

     int d_edit_proc(int msg, DIALOG *d, int c);

DESCRIPTION
     An editable text object (the dp field points to the string).  When  it  has
     the  input  focus	(obtained by clicking on it with the mouse), text can be
     typed into this object. The d1 field specifies the maximum number of  char-
     acters  that  it will accept, and d2 is the text cursor position within the
     string.

     Note: dp must point to a buffer at least (d1 + 1) * 4 bytes  long	because,
     depending	on  the encoding format in use, a single character can occupy up
     to 4 bytes and room must be reserved for the terminating null character.

SEE ALSO
     excustom(3), exgui(3)

Allegro 			  version 4.4.3 		  d_edit_proc(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=d_edit_proc&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help