Melchior FRANZ > * Torsten Dreyer -- Monday 02 February 2009: > > I have been working with this patch for a while now and I think it is an > > improvement and should be applied. > > Sounds good, but hold on: Stuart told me on IRC that he works on > something better, and that the Nasal code might be obsolete ... > > > You probably refer to the textranslate animation used in > > the kx165 having roundoff problems. They were fixed elsewhere. This code > > provides a nice wrapper for common tuner functionality. > > ... but I don't know if he meant textranslate or property-adjust, > or whatever. Let's wait for him. :-)
Sorry - I've been very busy the past week and haven't had the change to look at this again. I was looking at the <mask> tag for the property-adjust, which I noticed wasn't previously used in the kx165. However, when I tried it I found two problems. From memory (I'm not at my FG computer right now) they were the following: 1) The <mask>decimal</mask> affected high-order integer values as well 2) A roundoff problem with the texttranslate animation caused a display problem. I like the Nasal solution, and I think we should offer it for Aircraft developers to use if they wish, possibly by including it in aircraft.nas or controls.nas, but I would also like to fix the property-adjust bugs so the Nasal version doesn't end up as a workaround. -Stuart ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel