diff --git a/src/GUI/gui.h b/src/GUI/gui.h index b7a32af7d..03afb28e1 100644 --- a/src/GUI/gui.h +++ b/src/GUI/gui.h @@ -64,7 +64,6 @@ extern void fgHiResDump(); #if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__) extern void printScreen(puObject *); #endif -extern void guiTogglePanel(puObject *); extern void PilotOffsetAdjust(puObject *); extern void fgHUDalphaAdjust(puObject *); extern void NewAirport(puObject *); diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index a3fc3a043..862c190ed 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -119,10 +119,6 @@ const __fg_gui_fn_t __fg_gui_fn[] = { #if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__) {"printScreen", printScreen}, #endif - - //View - {"guiTogglePanel", guiTogglePanel}, - // Help {"helpCb", helpCb}, @@ -182,18 +178,6 @@ ____________________________________________________________________*/ // on Sunday 3rd of December -// This is the accessor function -void guiTogglePanel(puObject *cb) -{ - if (fgGetBool("/sim/panel/visibility")) - fgSetBool("/sim/panel/visibility", false); - else - fgSetBool("/sim/panel/visibility", true); - - globals->get_renderer()->resize(fgGetInt("/sim/startup/xsize"), - fgGetInt("/sim/startup/ysize")); -} - void helpCb (puObject *) { string command;