#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 *);
#if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__)
{"printScreen", printScreen},
#endif
-
- //View
- {"guiTogglePanel", guiTogglePanel},
-
// Help
{"helpCb", helpCb},
// 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;