d_edit_proc(3alleg4) php man page | unix.com

Man Page: d_edit_proc

Operating Environment: php

Section: 3alleg4

d_edit_proc(3alleg4)						  Allegro manual					      d_edit_proc(3alleg4)

NAME
d_edit_proc - Dialog procedure implementing an editable text object. Allegro 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 characters that it will accept, and d2 is the text cursor posi- tion 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(3alleg4), exgui(3alleg4) Allegro version 4.4.2 d_edit_proc(3alleg4)
Related Man Pages
excustom(3alleg4) - debian
exgui(3alleg4) - centos
excustom(3alleg4) - opendarwin
excustom(3alleg4) - mojave
excustom(3alleg4) - osx
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team