1
0
Fork 0

remove obsolete and non-functional menu toggle command

This commit is contained in:
mfranz 2006-11-01 23:23:26 +00:00
parent 65e2ce16d6
commit 8d1ecbfa1b
2 changed files with 0 additions and 17 deletions

View file

@ -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 *);

View file

@ -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;