MorphOS Developer
Posts: 162 from 2003/3/17
Quote:
ALB42 wrote:
And so on and so on.
The IDE uses RTTI to inspect which properties to show them in the property list so it does not know how the parameter in MUI (MUIA_xxx) looks like it doesn't even know the property names/types before it inspects the class, and you could give a completely new class to it without changing code.
In the IDE there is for every new Type just a single line added (RegisterMUIClass) but before the wrapper must be written of course.
So if you want to use that for a different language you have to write such wrapper first, of course it would be possible for C++ or so, but as long nobody did until now I guess it's not strongly demanded ;)
OK, I see. Anyway, interesting concept. I look forward to follow your future progress and I will give this a try myself sometime.
By the way, are the MUIClasses statically linked to the binary with FPC on MorphOS? Or do you have something like like a shared library interface?