Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
In package togl (to mix tcl-tk with OpenGL), there are the following
pieces of code:
aglSetDrawable(togl->aglCtx,((MacDrawable *) (window))->toplevel->grafPtr)
In recent TCL-TK 8.5 - 8.6, the variable "grafPtr" does not exist anymore. I
that this is due to the change from carbon to aqua.
At the same time, both funcs "GetPortBounds" and "aglSetDrawable" are
deprecated in Snow
"aglSetDrawable" should be changed to either:
GLboolean aglSetWindowRef (
GLboolean aglSetHIViewRef (
>From where should the "WindowRef" or "HIViewRef" be taken in order to
call either of these funcs?
How to substitue the func "GetPortBounds"?