[cells-devel] Minor Celtk/Togl woes

Frank Goenninger fgoenninger at prion.de
Fri Jun 16 07:07:27 UTC 2006


Am 15.06.2006 um 22:46 schrieb Luís Oliveira:

> On 2006-jun-15, at 20:58, Frank Goenninger wrote:
>>> Btw, Togl's CVS version (2.0 to be, apparently) doesn't have the  
>>> following functions defined in togl.lisp: Togl_CreateFunc(),  
>>> Togl_DisplayFunc(), Togl_ReshapeFunc(), Togl_DestroyFunc() and  
>>> Togl_TimerFunc(). What's up with that?
>>
>> Hunh? Which CVS do you access?
>
> http://sourceforge.net/cvs/?group_id=519
>
> The CVS repository has some 2 weeks old changes so I guess it's not  
> too dead. Looking at the two gears.c examples, the interface  
> changed from:
>
>     Togl_CreateFunc(init);
>     Togl_DestroyFunc(zap);
>     Togl_DisplayFunc(draw);
>     Togl_ReshapeFunc(reshape);
>     Togl_TimerFunc(idle);
>     Togl_CreateCommand("rotate", rotate);
>     Togl_CreateCommand("position", position);
>
> to:
>
>     Tcl_CreateObjCommand(interp, "init", init, NULL, NULL);
>     Tcl_CreateObjCommand(interp, "zap", zap, NULL, NULL);
>     Tcl_CreateObjCommand(interp, "draw", draw, NULL, NULL);
>     Tcl_CreateObjCommand(interp, "reshape", reshape, NULL, NULL);
>     Tcl_CreateObjCommand(interp, "idle", idle, NULL, NULL);
>     Tcl_CreateObjCommand(interp, "rotate", rotate, NULL, NULL);
>     Tcl_CreateObjCommand(interp, "position", position, NULL, NULL);

Ah, right. That change in the interface had been announced some  
months ago. It's just that Celtk has to change to the "obj" interface  
now, too.

Some homework to do here ;-)

Cheers,
     Frank






More information about the cells-devel mailing list