Am 15.06.2008 um 19:30 schrieb Tommi Komulainen:


Think so? I mean, all clutter needs is an OpenglContext to draw into, right?
Events are completely taken away anyhow.

Well, almost. Actually you'll want to override some methods (drawRect,
isFlipped etc.) which I think you can not do without subclassing. And
creating an NSOpenGLView is about one command anyway.

k, whatever works. Just thought addind a subview could be too heavy.


See the attached patches. Quickly testing it basically makes
clutter-gtk work. It needs much cleaning up though, especially the
header that gets installed, check retain/release balance, be more
clear when it's OK to rely passing messages to NULL self->window to be
ignored, and when not, etc.

Happy hacking.

K, I will give them a shot. They are against svn?

Yes, trunk around the time of the timestamp in the second patch.

k, works like a charm. so by me, apply the patch.

Hmm, if you've built both gtk+quartz and clutter from macports once,
you should have all the necessary libraries on the system already. You
might be missing some version of automake and gtk-doc that are
required when building against svn (which is something using jhbuild
to build gtk+ would provide.) Should be at most a minor inconvenience.

Indeed. What I was scared of was adding osx as a target for clutter- gtk. But you already did that. Ta!

Daniel
--
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to