#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;
show_pu_cursor = true;
puHideCursor();
}
- // BusyCursor( 0 );
CGlPrinter p( CGlPrinter::PRINT_BITMAP );
int cur_width = fgGetInt("/sim/startup/xsize");
p.Begin( "FlightGear", cur_width*3, cur_height*3 );
p.End( hiResScreenCapture(3) );
- // BusyCursor(1);
if ( show_pu_cursor ) {
puShowCursor();
}