Mariano, you can update and test it again now. I moved all the code to GLMorphic package and everything you need should be there. On Mon, Jul 27, 2009 at 6:45 PM, Javier Pimás <elpochodelagente@gmail.com>wrote:
- you can't access the squeak window handle directly, there is no primitive.
Yes, I also found that problem, but there must be a way to find it in some place (or there should be) without writing a plugin.
Please, put this into GLMorphic package. Make a separate class & copy the code you need. FFI-Examples is bad place for this.
Ok I'll change that, and also I'll try to fix the glitches (at least making the fonts respect the ascend so that the characters are placed in the baseline.
On Mon, Jul 27, 2009 at 4:34 PM, Igor Stasenko <siguctua@gmail.com> wrote:
2009/7/27 Javier Pimás <elpochodelagente@gmail.com>:
[snip]
If you want to try it, you should do
ScriptLoader loadFFI.
and then download the GLMorphic-JEP version of GLMorphic package from squeaksource (after GLMorphic-sig? ). I also made some modifications to FFI-Examples, so you may also have to dowonload FF-Examples-JEP from squeakfoundation.org. I'm new to monticello so it wouldn't be strange if nothing got uploaded correctly.
Btw, i'm currently in the middle of writing plugin for binding the OpenVG (http://www.khronos.org/openvg/). And your new additions could be useful, because for tests i wanna use the ShivaVG implementation, which expects a pre-initialized OpenGL rendering context...
[snip]
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Javier Pimás Ciudad de Buenos Aires
-- Javier Pimás Ciudad de Buenos Aires