1adime_d_edit_proc(3) Adime API Reference adime_d_edit_proc(3)
2
3
4
6 adime_d_edit_proc
7
9 #include <adime.h>
10
11
12 int adime_d_edit_proc(int msg, DIALOG *d, int c)
13
15 Like Allegro´s `d_edit_proc()´, but with 3d-ish style. Note that the 3d
16 border is three pixels wide, so you have to add those pixels to the
17 size of the edit box. It also adds an extra feature: The `d->d1´ field,
18 if positive, is the maximal number of characters, just like with
19 d_edit_proc(). But you may also set it to be negative, meaning that
20 (after removing the sign) it is the maximal number of bytes occupied by
21 the string, including the trailing zero. (This may be different from
22 the number of characters when you use Unicode.)
23
24
25
26
27Adime version 2.2.1 adime_d_edit_proc(3)