Norman Vine writes:
> John Check writes:
> >> >
> >> >Right.  One of us needs to get around to writing a pop-up dialog box
> >> >when that happens, to let the user know what's going on.
> >>
> >> #include <GUI/gui.h>
> >>
> >>  if( crashed )
> >>    mkDialog("Ooops Crashed\nto restart sim\nSelect FileMenu::Reset")
> >>
> >Maybe "Collision" might be a better term. "Crashed" might be 
> >taken to mean the program crashed
> 
> Ooops My Bad .
> 
> if (crashed)
>   mkDialog(fgGetString("/sim/crashed_string").c_str());

Hey, can we embed <html> tags in "/sim/crashed_string"? :-)

Curt.
-- 
Curtis Olson   Intelligent Vehicles Lab         FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to