From: Diederick C. N. <dc...@gm...> - 2012-11-24 01:24:37
|
Hi John, This should be save to delete. GLUT has a select callback for menus, which is called when a menu item is selected. We have got one too, but called it FGCBMenu. GLUT's select callback has the same signature as our FGCBMenu by the way, not the void (* callback) (int, int, int) the FGCBSelect has, but nothing else in glut's source that we don't already have has this signature. I've kicked out this callback in r 1488. Best, Dee On Fri, Nov 23, 2012 at 9:13 PM, John F. Fay <joh...@cy...> wrote: > Dee, > > As one last check, I'd look in the GLUT source code and make sure > it's not there. If it's not in GLUT, then we may as well remove it. > > - John > > > On 11/23/2012 12:26 AM, Diederick C. Niehorster wrote: >> Hi All, >> >> I'm going through all the callback code and notice that in >> fg_internal.h, there is a callback type FGCBSelect defined on line >> 205. I can however not find anything matching this in the whole >> codebase (also tried a grep for (int, int, int), its signature) and no >> glutSelectFunc exists. >> I just traced down history, and this definition has been there since >> the very first code import (revisions 2 and 3). >> >> Shall I just get rid of it, or does somebody know what it is? >> >> Best, >> Dee >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> Freeglut-developer mailing list >> Fre...@li... >> https://lists.sourceforge.net/lists/listinfo/freeglut-developer >> >> > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > Freeglut-developer mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer |