1d_textbox_proc(3)               Allegro manual               d_textbox_proc(3)
2
3
4

NAME

6       d_textbox_proc - Dialog procedure implementing a text box object. Alle‐
7       gro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       int d_textbox_proc(int msg, DIALOG *d, int c);
14

DESCRIPTION

16       A text box object. The dp field points to the text which is to be  dis‐
17       played  in  the  box.  If  the  text  is long, there will be a vertical
18       scrollbar on the right hand side of the object which  can  be  used  to
19       scroll  through  the  text.  The default is to print the text with word
20       wrapping, but if the D_SELECTED flag is set, the text will  be  printed
21       with  character  wrapping. The d1 field is used internally to store the
22       number of lines of text, and d2  is  used  to  store  how  far  it  has
23       scrolled through the text.
24
25

SEE ALSO

27       exgui(3)
28
29
30
31Allegro                          version 4.4.2               d_textbox_proc(3)
Impressum