From: Melchior F. <mf...@fl...> - 2006-04-28 10:00:27
|
Update of /var/cvs/FlightGear-0.9/FlightGear/src/ATC In directory baron:/tmp/cvs-serv9584/ATC Modified Files: ATCDialog.cxx Log Message: rename NewGUI::getDialog() to NewGUI::getDialogProperties() getDialog wrongly implies that it returns an FGDialog, and we might later need a real getDialog. Index: ATCDialog.cxx =================================================================== RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/ATC/ATCDialog.cxx,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** ATCDialog.cxx 17 Apr 2006 17:08:58 -0000 1.30 --- ATCDialog.cxx 28 Apr 2006 09:59:31 -0000 1.31 *************** *** 192,196 **** void FGATCDialog::PopupDialog() { const char *dialog_name = "atc-dialog"; ! SGPropertyNode_ptr dlg = _gui->getDialog(dialog_name); if (!dlg) return; --- 192,196 ---- void FGATCDialog::PopupDialog() { const char *dialog_name = "atc-dialog"; ! SGPropertyNode_ptr dlg = _gui->getDialogProperties(dialog_name); if (!dlg) return; *************** *** 307,311 **** void FGATCDialog::FreqDialog() { const char *dialog_name = "atc-freq-search"; ! SGPropertyNode_ptr dlg = _gui->getDialog(dialog_name); if (!dlg) return; --- 307,311 ---- void FGATCDialog::FreqDialog() { const char *dialog_name = "atc-freq-search"; ! SGPropertyNode_ptr dlg = _gui->getDialogProperties(dialog_name); if (!dlg) return; *************** *** 358,362 **** void FGATCDialog::FreqDisplay(string& ident) { const char *dialog_name = "atc-freq-display"; ! SGPropertyNode_ptr dlg = _gui->getDialog(dialog_name); if (!dlg) return; --- 358,362 ---- void FGATCDialog::FreqDisplay(string& ident) { const char *dialog_name = "atc-freq-display"; ! SGPropertyNode_ptr dlg = _gui->getDialogProperties(dialog_name); if (!dlg) return; |