I'm investigating the possibility of ripping out the horrible undocumented <special-instrument> hack that the KLN89 uses, and using the owner-drawn gauge that the weather radar uses instead in order to render to a texture and become a "normal" instrument.
However, I've got a query about the od_gauge, currently wxRadarBg::init contains this code snippet: FGInstrumentMgr *imgr = (FGInstrumentMgr *)globals->get_subsystem("instrumentation"); _odg = (FGODGauge *)imgr->get_subsystem("od_gauge"); _odg->setSize(512); where it obtains a pointer to an FGODGauge class from the instrument manager. This is the only point in the code where any instrument obtains a pointer to the od_gauge. My question is, is it safe for the KLN89 to also obtain a pointer to the same FGODGauge instance in this manner and then use it, or does an extra instance of FGODGauge have to be created first? Cheers - Dave ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel