Re: [AD] Filtered d_edit_proc() patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 2005-03-23 at 22:51 +0100, Evert Glebbeek wrote:

> Nice! I like this, and I don' think it would break existing code (existing
> addons may be a different story though). What do others think about this?
> Otherwise, d_edit_proc_ex() anyone? ;)

Hm. I don't think we can change the assignment of any of the free data
fields in the GUI procs, or all existing code using them will break.

Maybe make it a d_input_proc (to avoid the _ex), and also add a callback
which is called whenever text changes.

And if we really start now adding new GUI functionality, then I propose
to add d_push_proc from AGUP, it simply adds a callback to
d_button_proc, making it much more useful.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/