On 10/12/2010 10:54 PM, Adem wrote:
My hope/guess is that they may want to modify/extend it in time to cover their specialized needs (if any); but, having a universal/common code should benefit them/everybody too.
I don't suppose that it will run without any modification in the Widget Type code (e.g. as "procedure..message" would be hooked to the RTL code instead of the LCL code).

A decent modification would be deleting the Widget Types' own event queues and use the one in the RTL and merge the GUI messages (Windows) / GUI callbacks (Linux/MAC) into same.

A less perfect way would be to do the Widget Types' event queue object as a descendant of some virtual Object done in the RTL and hook it in instead of the RTL code.

Right now no common interface for the Widget Types' event queues seems to exist, and so they are not "hookable".

BTW.: as MSE would benefit from the RTL improvement, as well, Maybe Martin would be inclined to help here. He created the appropriate code do make it happen.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to