[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] New appl_getinfo mode

fre, 09,.12.2005 kl. 01.17 +0100, skrev Henk Robbers:
> Odd Skancke wrote:
> > Hi all,
> > 
> > 
> >  objc_data() - Applications should use objc_data() to get/put data into
> > object trees ... only on the planning stage yet. Altho already in the
> > AES handler at AES functions #66 (PLEASE SHOUT IF THIS IS NOT FREE!) it
> > is not usable.
> > 
> That is a very important one.
> Did you think about the idee to replace the OBJECT pointer
> by tree & item number and a rsrc handle in all circumstances
> in all AES calls?

 Yes, this is the idea :) I like your initial idea of hiding all the
AES-side data of GUI structure (read OBJECT trees) from the application.
This would ensure that only the AES has access to this data, and free
the AES to add expansions without having to consider that the
application modifies/accesses structures within it.

> Getting rid of all pointers to stuff owned by the AES.

 Yes, and making the elementary things within the object trees available
via AES call (text, color settings, etc. etc.) frees the AES to organize
things as it wish :)

 Best Regards,
Odd Skancke