From 7d3c375df2be7bb024e3223a72487cc6dc92ef85 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 18 Jan 2003 21:12:27 +0000 Subject: [PATCH] Remove the old built-in bindings for F8 and F10 (they can be done in keyboard.xml now). --- src/Input/input.cxx | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 5bc5132dc..38aec103b 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -310,30 +310,6 @@ FGInput::doKey (int k, int modifiers, int x, int y) FGAutopilot::FG_TC_HEADING_LOCK ); } return; - case 256+GLUT_KEY_F8: {// F8 toggles fog ... off fastest nicest... - const string &fog = fgGetString("/sim/rendering/fog"); - if (fog == "disabled") { - fgSetString("/sim/rendering/fog", "fastest"); - SG_LOG(SG_INPUT, SG_INFO, "Fog enabled, hint=fastest"); - } else if (fog == "fastest") { - fgSetString("/sim/rendering/fog", "nicest"); - SG_LOG(SG_INPUT, SG_INFO, "Fog enabled, hint=nicest"); - } else if (fog == "nicest") { - fgSetString("/sim/rendering/fog", "disabled"); - SG_LOG(SG_INPUT, SG_INFO, "Fog disabled"); - } else { - fgSetString("/sim/rendering/fog", "disabled"); - SG_LOG(SG_INPUT, SG_ALERT, "Unrecognized fog type " - << fog << ", changed to 'disabled'"); - } - return; - } - case 256+GLUT_KEY_F10: // F10 toggles menu on and off... - SG_LOG(SG_INPUT, SG_INFO, "Invoking call back function"); -#if defined(FG_OLD_MENUBAR) - guiToggleMenu(); -#endif - return; case 256+GLUT_KEY_F11: // F11 Altitude Dialog. SG_LOG(SG_INPUT, SG_INFO, "Invoking Altitude call back function"); NewAltitude( NULL ); -- 2.39.5