Stuart Buchanan wrote:
> - Provide a Nasal interface to display simple text messages on the
> screen like the ATC display. In fact, I copied the code from the
> ATCDisplay.cxx and simply shifted it further down the screen.
>
> The Nasal interface to display messages can be called simply as follows:
> displaySingleMessage("Message here")

This is really cool, but I'm not a big fan of long function names for
simple, global actions.  How about we call this thing "print()" and
rename the existing print() function (which dumps to the console)
log() instead?  Almost everyone would prefer this to be the default
text output, I think.

Also, rather than copying code from the ATC display, would it be
better to unify the two?  Is there a really good reason not to have
both streams in the same scroll buffer?

Andy


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to