// Display the ATC popup dialog box with options relevant to the users current situation.
void FGATCDialog::PopupDialog() {
const char *dialog_name = "atc-dialog";
- SGPropertyNode_ptr dlg = _gui->getDialog(dialog_name);
+ SGPropertyNode_ptr dlg = _gui->getDialogProperties(dialog_name);
if (!dlg)
return;
void FGATCDialog::FreqDialog() {
const char *dialog_name = "atc-freq-search";
- SGPropertyNode_ptr dlg = _gui->getDialog(dialog_name);
+ SGPropertyNode_ptr dlg = _gui->getDialogProperties(dialog_name);
if (!dlg)
return;
void FGATCDialog::FreqDisplay(string& ident) {
const char *dialog_name = "atc-freq-display";
- SGPropertyNode_ptr dlg = _gui->getDialog(dialog_name);
+ SGPropertyNode_ptr dlg = _gui->getDialogProperties(dialog_name);
if (!dlg)
return;
NewGUI *gui = (NewGUI *)globals->get_subsystem("gui");
if (!gui)
return;
- SGPropertyNode_ptr dlg = gui->getDialog("message");
+ SGPropertyNode_ptr dlg = gui->getDialogProperties("message");
if (!dlg)
return;
}
SGPropertyNode_ptr
-NewGUI::getDialog (const string &name)
+NewGUI::getDialogProperties (const string &name)
{
if(_dialog_props.find(name) != _dialog_props.end())
return _dialog_props[name];
* @param name The name of the dialog box.
* @return node pointer if the dialog was found, zero otherwise.
*/
- virtual SGPropertyNode_ptr getDialog (const string &name);
+ virtual SGPropertyNode_ptr getDialogProperties (const string &name);
/**
* Return a pointer to the current menubar.