On Jul 13, 2013, at 6:07 PM, Isaac Kamga wrote: > Hello fellow developers and mentors, > > I am currently editing the mged interface in order to integrate the heart > primitive and I need some clarifications . > > After editing typein.c and wdb.* , the heart primitive can be typed in > using the in command. > How do I add "hrt..." and "hrt" to the 'Create' and 'Primitive > Editor'>>'Type:' drop-down menus on the mged interface respectively ?
You'll want to search the source tree for one of the other primitive types in order to find all of the places that the hrt primitive will need to be hooked in (superell/SUPERELL or ehy/EHY are good keywords to search on). The answer to your specific question lies in src/mged/edsol.c and src/tclscripts/mged/edit_menu.tcl That said, I suggest focusing on all of the primary callbacks before worrying about the front-end GUI code. Each one of those callbacks is important and exposed through some command. Also, it may ultimately make more sense to only integrate into Archer/MGED instead of old MGED, but either works great for testing the callbacks. Cheers! Sean ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
