On Sun, Nov 09, 2008 at 01:47:26PM +0200, Igor Stasenko wrote: > Hello list, > > i started design of new plugin, which is conceptually based on > HostWindows, but will be more integral & flexible. ... > Awaiting for your comments or suggestions.
I tried implementing HostWindowPlugin for X11 a couple of years ago but did not complete it. IIRC, one area of difficulty was the encoding of X-Y coordinates in the plugin parameters, which put the X and Y values into the high and low order 16 bits of a 32 bit int. On X11, the coordinates are (32 bit) signed ints, and I recall that negative screen positions causes problems. Sorry I can't recall the exact details, but if you do reimplement the plugin, I would suggest encoding screen position parameters as separate X and Y ints rather than the hi and lo 16 bit scheme used in the current plugin. Dave _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
