1
0
Fork 0

Removed a couple of the deprecated dialogs, and removed the old

predefined bindings for F11 and F12.  Instead, there is now a soft
binding from F11 to the autopilot dialog.
This commit is contained in:
david 2003-01-18 21:59:25 +00:00
parent 013c322dd3
commit 5d5de3c903
2 changed files with 0 additions and 26 deletions

View file

@ -157,22 +157,6 @@ do_preset_commit_dialog (const SGPropertyNode * arg)
return true;
}
extern void NewAltitude (puObject *);
static bool
do_ap_altitude_dialog (const SGPropertyNode * arg)
{
NewAltitude(0);
return true;
}
extern void NewHeading (puObject *);
static bool
do_ap_heading_dialog (const SGPropertyNode * arg)
{
NewHeading(0);
return true;
}
extern void AddWayPoint (puObject *);
static bool
do_ap_add_waypoint_dialog (const SGPropertyNode * arg)
@ -245,8 +229,6 @@ static struct {
{ "old-preset-glideslope-dialog", do_preset_glideslope_dialog },
{ "old-preset-airspeed-dialog", do_preset_airspeed_dialog },
{ "old-preset-commit-dialog", do_preset_commit_dialog },
{ "old-ap-altitude-dialog", do_ap_altitude_dialog },
{ "old-ap-heading-dialog", do_ap_heading_dialog },
{ "old-ap-add-waypoint-dialog", do_ap_add_waypoint_dialog },
{ "old-ap-pop-waypoint-dialog", do_ap_pop_waypoint_dialog },
{ "old-ap-clear-route-dialog", do_ap_clear_route_dialog },

View file

@ -310,14 +310,6 @@ FGInput::doKey (int k, int modifiers, int x, int y)
FGAutopilot::FG_TC_HEADING_LOCK );
}
return;
case 256+GLUT_KEY_F11: // F11 Altitude Dialog.
SG_LOG(SG_INPUT, SG_INFO, "Invoking Altitude call back function");
NewAltitude( NULL );
return;
case 256+GLUT_KEY_F12: // F12 Heading Dialog...
SG_LOG(SG_INPUT, SG_INFO, "Invoking Heading call back function");
NewHeading( NULL );
return;
}
// END SPECIALS