]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui_funcs.cxx
Modified Files:
[flightgear.git] / src / GUI / gui_funcs.cxx
index 3a338a77d4e0f82c2cae482f478b9344b5d8f2c0..b87c5c0fe7d084ff30c54ac656aa5d0d37d5445d 100644 (file)
@@ -87,7 +87,6 @@
 
 #include "gui.h"
 #include "gui_local.hxx"
-#include "preset_dlg.hxx"
 #include "sgVec3Slider.hxx"
 
 SG_USING_STD(string);
@@ -120,19 +119,6 @@ const __fg_gui_fn_t __fg_gui_fn[] = {
 #if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__)
         {"printScreen", printScreen},
 #endif
-
-        //View
-        {"guiTogglePanel", guiTogglePanel},
-
-        // Environment
-        {"fgPresetAirport", fgPresetAirport},
-        {"fgPresetRunway", fgPresetRunway},
-        {"fgPresetOffsetDistance", fgPresetOffsetDistance},
-        {"fgPresetAltitude", fgPresetAltitude},
-        {"fgPresetGlideslope", fgPresetGlideslope},
-        {"fgPresetAirspeed", fgPresetAirspeed},
-        {"fgPresetCommit", fgPresetCommit},
-
         // Help
         {"helpCb", helpCb},
 
@@ -192,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;
@@ -503,7 +477,6 @@ void printScreen ( puObject *obj ) {
        show_pu_cursor = true;
        puHideCursor();
     }
-    // BusyCursor( 0 );
 
     CGlPrinter p( CGlPrinter::PRINT_BITMAP );
     int cur_width = fgGetInt("/sim/startup/xsize");
@@ -511,7 +484,6 @@ void printScreen ( puObject *obj ) {
     p.Begin( "FlightGear", cur_width*3, cur_height*3 );
     p.End( hiResScreenCapture(3) );
 
-    // BusyCursor(1);
     if ( show_pu_cursor ) {
        puShowCursor();
     }